curl --request PATCH \
--url https://prod.featherhq.com/api/v1/tools/{toolId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"structure": {
"url": "<string>",
"variables": [
{
"name": "<string>",
"type": "str",
"description": "<string>",
"required": false
}
],
"method": "GET",
"headers": {},
"body": {},
"timeout": 30
},
"speech": "<string>",
"slug": "<string>"
}
'{
"tool": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"structure": {
"url": "<string>",
"variables": [
{
"name": "<string>",
"type": "str",
"description": "<string>",
"required": false
}
],
"method": "GET",
"headers": {},
"body": {},
"timeout": 30
},
"speech": "<string>",
"slug": "<string>"
}
}Update an existing tool
curl --request PATCH \
--url https://prod.featherhq.com/api/v1/tools/{toolId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"structure": {
"url": "<string>",
"variables": [
{
"name": "<string>",
"type": "str",
"description": "<string>",
"required": false
}
],
"method": "GET",
"headers": {},
"body": {},
"timeout": 30
},
"speech": "<string>",
"slug": "<string>"
}
'{
"tool": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"structure": {
"url": "<string>",
"variables": [
{
"name": "<string>",
"type": "str",
"description": "<string>",
"required": false
}
],
"method": "GET",
"headers": {},
"body": {},
"timeout": 30
},
"speech": "<string>",
"slug": "<string>"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
The API endpoint URL
HTTP method (GET, POST, PATCH, PUT, DELETE)
GET, POST, PATCH, PUT, DELETE Request timeout in seconds
Tool updated successfully
Show child attributes
Show child attributes
The API endpoint URL
HTTP method (GET, POST, PATCH, PUT, DELETE)
GET, POST, PATCH, PUT, DELETE Request timeout in seconds