Read logs
logs_getRecent log lines for a branch, newest first: auth, rest, storage, realtime, functions or gateway. Scope: logs:read.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "logs_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Minimum level | |
| limit | No | Lines to return (default 100) | |
| branch | No | Branch id, e.g. `pr-42`. Default `production`. | |
| cursor | No | The next_cursor of the previous page | |
| search | No | Case-insensitive text to find in messages | |
| service | No | Service to read (default all) | |
| since_ms | No | Only lines at or after this epoch-millisecond time | |
| project_id | No | Project id, e.g. `todo-app`. Default: the last one used, or your only one. | |
| organization_id | No | Organization id, e.g. `acme`. Default: the token's. |