AgentConnect
Sessions

Get a tool-call body

Proxies one byte slice of a tool call's untruncated ToolBody JSON live from a daemon holding the session; the console pages by offset until nextOffset is null. 503 when none is reachable.

GET
/v1/orgs/{orgId}/sessions/{id}/tool-body

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

orgId*string
id*string

Query Parameters

toolCallId*string
offset?integer
Range0 <= value <= 9007199254740991

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/orgs/string/sessions/string/tool-body?toolCallId=string"
{  "sessionId": "string",  "toolCallId": "string",  "data": "string",  "totalBytes": 0,  "nextOffset": 0}