get_project_statuses
Retrieve all statuses for a project by providing its project ID. Use this to view or manage project states.
Instructions
指定したプロジェクトのステータス一覧を取得します
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | プロジェクトID |
Implementation Reference
- index.js:1535-1544 (handler)The tool handler that executes when 'get_project_statuses' is called. It calls the RepsonaAPI.getProjectStatuses method with the projectId argument and returns the result as formatted JSON.
case 'get_project_statuses': const projectStatuses = await this.repsonaAPI.getProjectStatuses(args.projectId); return { content: [ { type: 'text', text: JSON.stringify(projectStatuses, null, 2), }, ], }; - index.js:930-940 (schema)The tool registration with its input schema. The tool requires a projectId (string) and returns the project statuses list.
{ name: 'get_project_statuses', description: '指定したプロジェクトのステータス一覧を取得します', inputSchema: { type: 'object', properties: { projectId: { type: 'string', description: 'プロジェクトID' }, }, required: ['projectId'], }, }, - index.js:930-940 (registration)The tool is registered within the ListToolsRequestSchema handler, which lists all available tools for the MCP server.
{ name: 'get_project_statuses', description: '指定したプロジェクトのステータス一覧を取得します', inputSchema: { type: 'object', properties: { projectId: { type: 'string', description: 'プロジェクトID' }, }, required: ['projectId'], }, }, - index.js:379-381 (helper)The RepsonaAPI helper method that makes the actual HTTP GET request to the Repsona API endpoint /project/{projectId}/status to retrieve project statuses.
async getProjectStatuses(projectId) { return this.makeRequest(`/project/${projectId}/status`); }