paperclip_get_heartbeat_context
Retrieve issue state, ancestor summaries, goal/project info, and a comment cursor for incremental fetching without loading full comments.
Instructions
Get compact heartbeat context for an issue: state, ancestors, goal/project, and comment cursor.
Args:
issueId: string — Issue ID or identifier (example: "PAP-42")
Returns: Compact context object: issue state, ancestor summaries, goal/project info, lastCommentId cursor for incremental comment fetching.
Examples:
Use when: orienting yourself on an issue at the start of a heartbeat run without loading all comments
Don't use when: you need the full issue record — use paperclip_get_issue for complete fields
Error Handling:
401: authentication failed → check PAPERCLIP_API_KEY
404: issue not found → verify ID with paperclip_list_issues
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issueId | Yes | Issue ID or identifier (e.g. PAP-42) | |
| response_format | Yes | Output format: 'markdown' (default, human-readable) or 'json' (structured) | markdown |