get_card
Extract detailed information for a specific card by providing the project and card IDs, enabling precise management of Basecamp 3 card table data.
Instructions
Get details for a specific card
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card_id | Yes | The card ID | |
| project_id | Yes | The project ID |
Implementation Reference
- src/lib/basecamp-client.ts:205-208 (handler)Core handler function that executes the get_card tool logic by fetching the specific card details from the Basecamp API.async getCard(projectId: string, cardId: string): Promise<Card> { const response = await this.client.get(`/buckets/${projectId}/card_tables/cards/${cardId}.json`); return response.data; }
- src/index.ts:286-295 (registration)Registration of the 'get_card' tool in the MCP server, including name, description, and input schema definition.name: 'get_card', description: 'Get details for a specific card', inputSchema: { type: 'object', properties: { project_id: { type: 'string', description: 'The project ID' }, card_id: { type: 'string', description: 'The card ID' }, }, required: ['project_id', 'card_id'], },
- src/index.ts:286-295 (schema)Input schema for the 'get_card' tool validation.name: 'get_card', description: 'Get details for a specific card', inputSchema: { type: 'object', properties: { project_id: { type: 'string', description: 'The project ID' }, card_id: { type: 'string', description: 'The card ID' }, }, required: ['project_id', 'card_id'], },