get_idea
Retrieve detailed information about a specific idea by its unique ID for product feedback management and decision tracking.
Instructions
Get detailed information about a specific idea by ID.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ideaId | Yes | The unique ID of the idea |
Implementation Reference
- src/mcp/tools/proxyTools.ts:369-410 (handler)The `handleProxyTool` function acts as the handler for 'get_idea' (and other tools defined in this file). It forwards the call to the main app's MCP handler via `idealiftClient.mcpProxy`.
export async function handleProxyTool( toolName: string, args: Record<string, unknown>, chatgptSubjectId: string ): Promise<{ content: Array<{ type: string; text: string }>; isError: boolean }> { try { const response = await idealiftClient.mcpProxy( chatgptSubjectId, 'tools/call', { name: toolName, arguments: args } ); if (response.error) { return { content: [{ type: 'text', text: `Error: ${response.error.message}` }], isError: true, }; } // The result from handleJsonRpcRequest for tools/call is { content: [...], isError?: boolean } const result = response.result as { content?: Array<{ type: string; text: string }>; isError?: boolean } | undefined; if (result?.content) { return { content: result.content, isError: result.isError || false, }; } // Fallback: wrap the result as text return { content: [{ type: 'text', text: JSON.stringify(response.result, null, 2) }], isError: false, }; } catch (error) { console.error(`[ProxyTool] Error calling ${toolName}:`, error); return { content: [{ type: 'text', text: `Proxy error: ${(error as Error).message}` }], isError: true, }; } } - src/mcp/tools/proxyTools.ts:57-72 (registration)The 'get_idea' tool is registered within the `proxyTools` array in `src/mcp/tools/proxyTools.ts`.
{ name: 'get_idea', description: 'Get detailed information about a specific idea by ID.', inputSchema: { type: 'object' as const, properties: { ideaId: { type: 'string', description: 'The unique ID of the idea', }, }, required: ['ideaId'], }, annotations: { readOnlyHint: true, destructiveHint: false, openWorldHint: true }, _meta: { 'openai/visibility': 'public' }, },