Read a block's execution logs
get_logsRetrieve recent execution (call) logs for a workspace block, including usage metrics, to see real gateway costs and size batching from production behavior.
Instructions
Returns recent execution (call) logs for a block in a workspace. Each entry carries a usage block (statements, durationMs, fetches, storeOps) for the execution it belongs to — so you can see what a real gateway hit cost, not just your own test runs, and size batching from production behaviour. Entries logged before usage tracking existed simply have no usage.
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": {
"workspaceId": "<workspaceId>",
"blockId": "<blockId>"
},
"name": "get_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| blockId | Yes | ||
| workspaceId | Yes |