Skip to main content
POST
/
agents
/
{agent_id}
/
tools
/
{instance_name}
/
execute
Execute Agent Tool
curl --request POST \
  --url https://api.example.com/agents/{agent_id}/tools/{instance_name}/execute \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "arguments": {},
  "session_id": "<string>"
}
'
{
  "tool_key": "<string>",
  "instance_name": "<string>",
  "execution_id": "<string>",
  "result": "<unknown>",
  "status": "<string>",
  "execution_time_ms": 123,
  "error": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.mrassistant.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

agent_id
string<uuid>
required
instance_name
string
required

Body

application/json
arguments
Arguments · object
required

Tool arguments

session_id
string | null

Session ID for context

Response

Successful Response

tool_key
string
required
instance_name
string
required
execution_id
string
required
result
any
required
status
string
required
execution_time_ms
integer
required
error
string | null