paperclip_get_run_log
Read raw log bytes from a heartbeat run using a byte-offset cursor. Use nextOffset to retrieve subsequent slices of the log output.
Instructions
⚠ Board-only: Read raw log bytes for a heartbeat run using a byte-offset cursor (not paginated).
Args:
runId: string — Heartbeat run UUID (example: "run_abc123")
offset: number (optional) — Byte offset to start reading from (default 0)
limitBytes: number (optional) — Max bytes to return (default 16384 = 16 KiB)
response_format: 'markdown' | 'json' (optional) — Output format (default: markdown)
Returns: Log slice object: { content: string, nextOffset: number, totalBytes: number }. Use nextOffset to continue reading.
Examples:
Use when: reading raw execution log output for a heartbeat run, advancing via nextOffset for subsequent slices
Don't use when: you need structured events — use paperclip_list_run_events with afterSeq cursor instead
Error Handling:
401: authentication failed → check PAPERCLIP_API_KEY
403: permission denied → board-only endpoint, requires board API key
404: run not found → verify runId with paperclip_list_heartbeat_runs
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | Yes | Heartbeat run UUID | |
| offset | Yes | Byte offset into the log to start reading from (default 0) | |
| limitBytes | Yes | Maximum bytes to return (default 16384 = 16 KiB) | |
| response_format | Yes | Output format: 'markdown' (default, human-readable) or 'json' (structured) | markdown |