get_project_note_history
Retrieve the edit history of a specific note in a project to track changes and revisions.
Instructions
指定したプロジェクト内のノートの履歴を取得します
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | プロジェクトID | |
| noteId | Yes | ノートID |
Implementation Reference
- index.js:257-259 (handler)API method that executes the Repsona API call to fetch note history. Calls the /history/project/{projectId}/Note/{noteId} endpoint.
async getProjectNoteHistory(projectId, noteId) { return this.makeRequest(`/history/project/${projectId}/Note/${noteId}`); } - index.js:1313-1322 (handler)MCP tool handler that receives the CallToolRequest, extracts projectId and noteId from args, calls the API method, and returns the result as JSON text.
case 'get_project_note_history': const noteHistory = await this.repsonaAPI.getProjectNoteHistory(args.projectId, args.noteId); return { content: [ { type: 'text', text: JSON.stringify(noteHistory, null, 2), }, ], }; - index.js:681-692 (schema)Tool schema definition and registration in the ListToolsRequestSchema handler. Defines the tool name, description, and input schema requiring projectId and noteId.
{ name: 'get_project_note_history', description: '指定したプロジェクト内のノートの履歴を取得します', inputSchema: { type: 'object', properties: { projectId: { type: 'string', description: 'プロジェクトID' }, noteId: { type: 'string', description: 'ノートID' }, }, required: ['projectId', 'noteId'], }, }, - index.js:681-692 (registration)Tool is registered as part of the tools array returned by ListToolsRequestSchema handler, making it discoverable to MCP clients.
{ name: 'get_project_note_history', description: '指定したプロジェクト内のノートの履歴を取得します', inputSchema: { type: 'object', properties: { projectId: { type: 'string', description: 'プロジェクトID' }, noteId: { type: 'string', description: 'ノートID' }, }, required: ['projectId', 'noteId'], }, },