POST
/
api
/
v1
/
agent-tools
curl --location --request POST 'https://api.rapidagent.ai/api/v1/agent-tools' \
--header 'Content-Type: application/json' \
--header 'Autorization: Bearer <token>'
--data-raw '{
    "agentId": "<AGENT_ID>",
    "toolId": "<TOOL_ID>"
}'
{
  "success": true,
  "data": {
      "user": {},
      "agent": {},
      "agentId": "",
      "tool": {},
      "toolId": ""
    }
}

Body

toolId
string

A valid Tool ID.

agentId
string

A valid Agent ID.

Response

success
boolean

Indicates whether the call was successful.

data
object

Agent tool object

curl --location --request POST 'https://api.rapidagent.ai/api/v1/agent-tools' \
--header 'Content-Type: application/json' \
--header 'Autorization: Bearer <token>'
--data-raw '{
    "agentId": "<AGENT_ID>",
    "toolId": "<TOOL_ID>"
}'
{
  "success": true,
  "data": {
      "user": {},
      "agent": {},
      "agentId": "",
      "tool": {},
      "toolId": ""
    }
}