Agents

Update function

Updates an existing function definition.

patch/api/agents/{agent}/functions/{name}

Request

  • Base URL: https://docs.weavy.com (the document declares no server; this is the origin it was published from)
  • URL: https://docs.weavy.com/api/agents/{agent}/functions/{name}
  • Auth: none declared

Path parameters

agentstring required

Agent identifier (id or uid).

namestring required

Name of function to update.

Request body

namestring nullable

The name of the function.

descriptionstring nullable

Describes the purpose of the function to the agent.

methodstring nullable

HTTP method to use when calling the endpoint.

urlstring nullable

Url to the external API endpoint.

headersobject nullable

Headers to include in the request, e.g. Authorization, Content-Type, User-Agent etc.

parametersunknown

Response

OK

namestring nullable

The name of the function.

descriptionstring nullable

Describes the functions purpose to the agent.

methodstring nullable

The HTTP method to use when calling the endpoint.

urlstring nullable

The API endpoint to call.

headersobject nullable

Headers to include in the request, e.g. Authorization, Content-Type, User-Agent etc.

parametersunknown

Changes

No recorded changes to this operation across all 1 revision of this API.