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
      • POSTRefresh cached agent card
      • GETGet agent details
      • PUTUpdate agent
      • DELDelete agent
      • GETExport agent for runtime
      • GETList agent executions
      • GETGet execution detail
      • GETList tool calls
      • GETGet tool call detail
      • POSTPublish agent
      • POSTAdd capability to agent
      • DELRemove capability from agent
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: Bearer <token>" \
> -H "Content-Type: application/json"
1{
2 "id": "a3f1c9d2-4b7e-4f8a-9d3e-2b5f6c7d8e9f",
3 "toolId": "tool-987654321",
4 "toolName": "Sentiment Analysis",
5 "toolDescription": "Analyzes the sentiment of the provided text input.",
6 "model": "gpt-4-sentiment-v1",
7 "status": "completed",
8 "errorMessage": null,
9 "executionTimeMs": 245,
10 "createdAt": "2024-06-10T11:22:33Z",
11 "inputParameters": {
12 "text": "I love using Runtype API for AI automation!"
13 },
14 "outputResult": {
15 "sentiment": "positive",
16 "confidence": 0.98
17 }
18}
Get full payload for a single tool call including input parameters and output result.
Was this page helpful?
Previous

Publish agent

Next
Built with

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

idstringRequired
executionIdstringRequired
toolCallIdstringRequired

Response

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

Errors

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