Components
ToolHttpEndpoint
The configuration for an HTTP API call by a tool.
Example Usage
Fields
Field | Type | Required | Description |
---|---|---|---|
url | string | TRUE | The endpoint URL of the external service to call. |
method | components.ToolHttpMethod | TRUE | The HTTP method to use for a tool HTTP request. |
argumentLocation | components.ToolArgumentLocation | TRUE | The location of the argument in a tool HTTP request. ‘body’ is used for JSON data in the POST request body. ‘form’ is used for form data in the POST request body. ‘path’ is used for URL path parameters. ‘query’ is used for query parameters in the URL. |