paperclip_get_document
Retrieve the full content of a specific issue document by issue ID and document key. Returns the document body in markdown format along with title and metadata.
Instructions
Get the full content of a specific issue document by key.
Args:
issueId: string — Issue ID or identifier (example: "PAP-42")
key: string — Document key (example: "plan")
Returns: Document object: key, title, body (markdown), format, revisionId, createdAt, updatedAt.
Examples:
Use when: reading the plan or notes document before writing an update
Don't use when: you need all document keys — use paperclip_list_documents first to discover them
Error Handling:
401: authentication failed → check PAPERCLIP_API_KEY
404: document or issue not found → verify both issueId and key with paperclip_list_documents
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issueId | Yes | Issue ID or identifier (e.g. PAP-22) | |
| key | Yes | Document key (e.g. `plan`) | |
| response_format | Yes | Output format: 'markdown' (default, human-readable) or 'json' (structured) | markdown |