logs_search
Search a project's logs and events (an event is a record with a name; its fields are in extra). Records come from web pages, mobile and desktop apps, and servers. Returns rows oldest first with a nextCursor for paging. name, user, session and device match exactly and combine with query, boxId and since; when combined with a plain-text query a page can hold fewer rows than limit while nextCursor is set, so keep paging.
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_search"
}
}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 | |
| limit | No | Rows per page, max 1000 | |
| query | No | Text to match; plain text matches as a whole term. CloudWatch filter syntax is passed through when it starts with {, ?, -, ", % or [ | |
| since | No | Start of the window: relative (15m, 2h, 3d, 1w), RFC3339, or unix time. Default 1h | 1h |
| cursor | No | nextCursor from the previous page | |
| 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) |