logs_tail
Stream a project's new logs and events by long-polling: the call returns as soon as new rows arrive or waitSec elapses. Pass the returned cursor to the next call to continue. name, user, session and device match exactly.
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": {
"project": "<project>"
},
"name": "logs_tail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Only events with this name; "*" for every event (any record with a name) | |
| user | No | Only records sent with this user id | |
| boxId | No | Only logs sent from this box | |
| cursor | No | cursor from the previous logs_tail result; omit to start from now | |
| device | No | Only records from this device | |
| project | Yes | Project id (prj_...) or project name | |
| session | No | Only records from this session (one app launch or page load) | |
| waitSec | No | Seconds to wait for new rows, max 25 |