Skip to main content
POST
/
tools
/
call
/
{tool_id}
Call Tool
curl --request POST \
  --url https://api.danubeai.com/v1/tools/call/{tool_id} \
  --header 'Content-Type: application/json' \
  --header 'danube-api-key: <api-key>' \
  --data '
{
  "tool_input": {
    "limit": 5
  }
}
'
{}
Execute a tool with the provided input parameters. The tool’s response format varies depending on the specific tool being called.

Example

curl -X POST "https://api.danubeai.com/v1/tools/call/abc123" \
  -H "danube-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"tool_input": {"limit": 5}}'

Authorizations

danube-api-key
string
header
required

Your Danube API key

Path Parameters

tool_id
string
required

The unique identifier of the tool to execute

Body

application/json

Tool input parameters

tool_input
object

Input parameters for the tool (can also pass parameters directly at root level)

Response

Tool execution result

Tool execution result - structure varies by tool