Add a tool to a tool server
Tool Servers
Add a tool to a tool server
Adds a new tool definition to the tool server. If the tool server does not have a definition, one will be created.
POST
Add a tool to a tool server
Authorizations
Use JWT token for authentication
Path Parameters
The unique identifier of the tool server
Body
application/json
Tool definition to add
Response
Tool added successfully
Tool type (always 'function')
Available options:
function API endpoint for the tool
HTTP method
Available options:
GET, POST, PUT, DELETE, PATCH Query parameter keys
Path parameter keys
Body property key for request body
Custom headers for the tool
Whether the body is form data
Body mode
Available options:
simple, advanced JSON body template for advanced mode
Whether response post-processing is enabled
JS expression template for response post-processing