project_logs
Read bounded logs for one service in an explicit project. Filter by source, timestamp, substring, and tail size to inspect build or runtime output.
Instructions
Read bounded logs of one service resolved within an explicit project.
Prefer the immutable project ID returned by list_projects. Membership is
resolved by the daemon; a same-name replacement cannot inherit a retired ID.
Existing node grants and local token roles still apply.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grep | No | Literal substring filter; never a regex. | |
| tail | No | Newest matching lines; clamped to [1, 1000]. | |
| since | No | Inclusive ISO-8601 timestamp filter. | |
| source | No | Log stream: all, build or runtime. | all |
| project | Yes | Immutable prj_ ID or name of an existing project. Prefer the ID from list_projects: a retired ID never addresses a same-name replacement. | |
| service | No | Service inside the project; omit for web. | web |
| since_id | No | Exclusive log cursor; ignored while tail is sent. |