For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dashboard
User GuideDeveloper GuidesAPI Reference
User GuideDeveloper GuidesAPI Reference
    • Overview
  • Runtype API
      • GETList agents
      • POSTCreate agent
      • POSTFetch external agent card
      • GETGet agent details
      • PUTUpdate agent
      • DELDelete agent
      • STREAMResolve a pending agent tool approval
      • POSTAdd capability to agent
      • DELRemove capability from agent
      • STREAMExecute agent
      • GETList agent executions
      • GETGet execution detail
      • GETList tool calls
      • GETGet tool call detail
      • GETExport agent for runtime
      • POSTPublish agent
      • POSTRefresh cached agent card
      • STREAMResume a paused agent execution
      • POSTExecute agent voice (text-to-speech)
Dashboard
LogoLogo
Runtype APIAgents

Get tool call detail

GET
/v1/agents/:id/executions/:executionId/tool-calls/:toolCallId
GET
/v1/agents/:id/executions/:executionId/tool-calls/:toolCallId
$curl https://api.runtype.com/v1/agents/id/executions/executionId/tool-calls/toolCallId \
> -H "Authorization: <apiKey>" \
> -H "Content-Type: application/json"
1{
2 "createdAt": "2024-06-10T09:45:00Z",
3 "errorMessage": null,
4 "executionTimeMs": 245,
5 "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
6 "model": "gpt-4-turbo",
7 "status": "completed",
8 "toolDescription": "Weather forecast retrieval tool providing detailed daily weather information.",
9 "toolId": "weather-forecast-v2",
10 "toolName": "Weather Forecast Tool",
11 "inputParameters": {
12 "query": "What is the weather forecast for New York tomorrow?",
13 "units": "metric"
14 },
15 "outputResult": {
16 "forecast": "Sunny with a high of 25°C and a low of 15°C",
17 "precipitationChance": "10%"
18 }
19}
Get full payload for a single tool call including input parameters and output result.
Was this page helpful?
Previous

Export agent for runtime

Next
Built with

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

idstringRequired
executionIdstringRequired
toolCallIdstringRequired

Response

Full tool call detail
createdAtstring
errorMessagestring or null
executionTimeMsinteger or null
idstring
modelstring or null
statusstring
toolDescriptionstring or null
toolIdstring or null
toolNamestring
inputParametersany
outputResultany

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error