proofhub_get_task_history
Fetch task activity history including stage changes and edits to track modifications in ProofHub projects.
Instructions
Fetch the activity history of a ProofHub task (stage changes, edits, etc.).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| list_id | Yes | ||
| task_id | Yes |
Implementation Reference
- index.js:173-185 (registration)Tool registration in ListToolsRequestSchema handler defining the tool name, description, and inputSchema for proofhub_get_task_history.
{ name: 'proofhub_get_task_history', description: 'Fetch the activity history of a ProofHub task (stage changes, edits, etc.).', inputSchema: { type: 'object', properties: { project_id: { type: 'string' }, list_id: { type: 'string' }, task_id: { type: 'string' }, }, required: ['project_id', 'list_id', 'task_id'], }, }, - index.js:309-319 (handler)Handler function for proofhub_get_task_history. It extracts project_id, list_id, and task_id from arguments, makes a GET request to the ProofHub API history endpoint, and returns the result as formatted JSON.
// ── proofhub_get_task_history ──────────────────────────────────────── if (name === 'proofhub_get_task_history') { const { project_id, list_id, task_id } = args; const history = await apiGet(`/projects/${project_id}/todolists/${list_id}/tasks/${task_id}/history`); return { content: [{ type: 'text', text: JSON.stringify(history, null, 2), }], }; }