paperclip_list_documents
Retrieve all document keys attached to an issue. Use this to discover available documents before reading or updating them.
Instructions
List all documents attached to an issue (e.g. plan, notes).
Args:
issueId: string — Issue ID or identifier (example: "PAP-42")
Returns: Pagination envelope { items: DocumentStub[], total, count, offset, limit, has_more, next_offset }. Body not included — use paperclip_get_document.
Examples:
Use when: discovering which document keys exist on an issue before reading or updating one
Don't use when: you already know the key — use paperclip_get_document directly
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-21) | |
| limit | Yes | Max documents per page (1–100, default 50) | |
| offset | Yes | Number of documents to skip (default 0) | |
| response_format | Yes | Output format: 'markdown' (default, human-readable) or 'json' (structured) | markdown |