logs.tail
Tail the environment's most-recent log lines, newest first. GET .../logs. level is debug, info, warn, or error. from is an opaque pagination cursor.
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": {
"organization_id": "<organization_id>",
"project_id": "<project_id>",
"environment_id": "<environment_id>"
},
"name": "logs.tail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Opaque pagination cursor from a previous response | |
| level | No | Filter: debug, info, warn, or error | |
| limit | No | Maximum lines (default 200, max 1000) | |
| project_id | Yes | project_id (required) | |
| environment_id | Yes | environment_id (required) | |
| organization_id | Yes | organization_id (required) |