Tools
/tools
Create new tool.
POST
/
api
/
v1
/
tools
Copy
curl --location --request POST 'https://api.rapidagent.ai/api/v1/tools' \
--header 'Content-Type: application/json' \
--header 'Autorization: Bearer <token>' \
--data-raw '{
"name": "My Zapier tool",
"type": "ZAPIER_NLA",
"metadata": {"zapier_nla_api_key": ""}
}'
Copy
{
"success": true,
"data": {
"id": "cli28c2vd00016itbrlhekwql",
"name": "My Zapier tool",
"type": "ZAPIER_NLA"
}
}
Body
The name of the tool.
The type of tool, valid options SEARCH
, WOLFRAM_ALPHA
, REPLICATE
, ZAPIER_NLA
, AGENT
or OPENAPI
.
Any other configuration needed for the tool as an JSON object.
Response
Indicates whether the call was successful.
A tool
object.
Copy
curl --location --request POST 'https://api.rapidagent.ai/api/v1/tools' \
--header 'Content-Type: application/json' \
--header 'Autorization: Bearer <token>' \
--data-raw '{
"name": "My Zapier tool",
"type": "ZAPIER_NLA",
"metadata": {"zapier_nla_api_key": ""}
}'
Copy
{
"success": true,
"data": {
"id": "cli28c2vd00016itbrlhekwql",
"name": "My Zapier tool",
"type": "ZAPIER_NLA"
}
}
Copy
curl --location --request POST 'https://api.rapidagent.ai/api/v1/tools' \
--header 'Content-Type: application/json' \
--header 'Autorization: Bearer <token>' \
--data-raw '{
"name": "My Zapier tool",
"type": "ZAPIER_NLA",
"metadata": {"zapier_nla_api_key": ""}
}'
Copy
{
"success": true,
"data": {
"id": "cli28c2vd00016itbrlhekwql",
"name": "My Zapier tool",
"type": "ZAPIER_NLA"
}
}
Assistant
Responses are generated using AI and may contain mistakes.