get_quote
Retrieve specific quote details from Autotask PSA using the quote ID to access pricing, line items, and customer information for sales and service operations.
Instructions
Get a specific quote by ID
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quoteId | Yes | The quote ID to retrieve |
Implementation Reference
- Core implementation of getQuote that retrieves a specific quote by ID using the autotask-node clientasync getQuote(id: number): Promise<AutotaskQuote | null> { const client = await this.ensureClient(); try { this.logger.debug(`Getting quote with ID: ${id}`); const result = await client.quotes.get(id); return result.data as AutotaskQuote || null; } catch (error) { this.logger.error(`Failed to get quote ${id}:`, error); throw error; } }
- src/handlers/tool.handler.ts:1271-1274 (handler)MCP tool handler dispatches 'get_quote' calls to the AutotaskServicecase 'get_quote': result = await this.autotaskService.getQuote(args.quoteId); message = `Quote retrieved successfully`; break;
- src/handlers/tool.handler.ts:797-810 (registration)Registers the 'get_quote' tool with its input schema in listTools() method{ name: 'get_quote', description: 'Get a specific quote by ID', inputSchema: { type: 'object', properties: { quoteId: { type: 'number', description: 'The quote ID to retrieve' } }, required: ['quoteId'] } },