list-projects
Retrieve all projects from your Plane workspace to view and manage your project portfolio for better organization and tracking.
Instructions
List all projects in the workspace
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:282-288 (handler)Handler function for the 'list-projects' tool. Calls the Plane API to retrieve all projects in the workspace and returns the JSON response.case "list-projects": { const projects = await callPlaneAPI("/projects/", "GET"); return { content: [{ type: "text", text: JSON.stringify(projects, null, 2) }], isError: false, }; }
- src/index.ts:30-38 (schema)Input/output schema definition for the 'list-projects' tool, specifying an empty object schema with no required properties.const LIST_PROJECTS_TOOL: Tool = { name: "list-projects", description: "List all projects in the workspace", inputSchema: { type: "object", properties: {}, required: [], }, };
- src/index.ts:261-270 (registration)Registers the 'list-projects' tool (as LIST_PROJECTS_TOOL) for tool discovery in the ListToolsRequestSchema handler.server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: [ LIST_PROJECTS_TOOL, GET_PROJECT_TOOL, CREATE_ISSUE_TOOL, LIST_ISSUES_TOOL, GET_ISSUE_TOOL, UPDATE_ISSUE_TOOL, ], }));