Create a tool gateway session
pc_post_tool_gateway_sessionsCreates a new tool gateway session, accepting run ID, TTL, agent ID, issue ID, company ID, and project ID for board or agent authorization.
Instructions
Create a tool gateway session
Paperclip operation: POST /api/tool-gateway/sessions. Authorization class: board_or_agent.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"body": "<body>"
},
"name": "pc_post_tool_gateway_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| headers | Yes | ||
| encoding | Yes | ||
| status_code | Yes | ||
| content_type | Yes |