Create OpenAPI Tool Endpoint
Endpoint
POST /v3/tools/
Description
Creates a new tool using an OpenAPI schema with custom configurations.
Authentication
API Key (x-api-key
) in the header.
Request Parameters
Parameter | Type | Description |
---|---|---|
tool_set_name | String | Name for the tool set (prefixed with openapi- ). |
openapi_schema | Object | OpenAPI schema for tool definition. |
default_headers | Object | Optional default headers for requests. |
default_query_params | Object | Optional default query parameters. |
default_body_params | Object | Optional default body parameters. |
endpoint_defaults | Object | Optional endpoint-specific default parameters. |
enhance_descriptions | Boolean | Whether to enhance descriptions using OpenAI. |
openai_api_key | String | OpenAI API key (if enhancement is enabled). |
Request Example
Curl Request
Response
Returns tool IDs for the created tools.