Get log context
get_log_contextFetch log context around a specific entry by project or deployment to pinpoint errors and trace execution flow.
Instructions
Fetch log context around one log entry by project or deployment.
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": {
"id": "<id>"
},
"name": "get_log_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| limit | No | ||
| after_ms | No | ||
| before_ms | No | ||
| project_id | No | ||
| project_name | No | ||
| deployment_id | No |