list_documents
Retrieve all documents associated with a specific digital signature envelope to manage and review attached files.
Instructions
List documents attached to an envelope.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| envelopeId | Yes | Envelope UUID |
Implementation Reference
- src/index.js:78-91 (handler)MCP tool registration and handler for list_documents in src/index.js
server.tool( 'list_documents', 'List documents attached to an envelope.', { envelopeId: z.string().describe('Envelope UUID'), }, async ({ envelopeId }) => { try { const data = await api.listDocuments(creds, envelopeId); return result(data); } catch (err) { return errorResult(err); } } - src/api.js:133-135 (handler)Implementation of listDocuments in src/api.js which performs the API call.
export function listDocuments(creds, envelopeId) { return apiCall('GET', `/api/envelopes/${envelopeId}/documents`, creds); }