curl --request POST \
--url https://prod.featherhq.com/api/v1/tools \
--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
},
"slug": "<string>",
"speech": "<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>"
}
}Create a new tool
curl --request POST \
--url https://prod.featherhq.com/api/v1/tools \
--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
},
"slug": "<string>",
"speech": "<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
New tool created 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