whmcs_delete_quote
Remove quotes from WHMCS by specifying the quote ID. This tool helps manage your WHMCS installation by deleting unwanted or outdated quotes.
Instructions
Delete a quote
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quoteid | Yes | Quote ID |
Implementation Reference
- src/index.ts:1273-1287 (registration)Registers the 'whmcs_delete_quote' MCP tool, defining its input schema (quoteid) and handler that delegates to whmcsClient.deleteQuote'whmcs_delete_quote', { title: 'Delete Quote', description: 'Delete a quote', inputSchema: { quoteid: z.number().describe('Quote ID'), }, }, async (params) => { const result = await whmcsClient.deleteQuote(params); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }], }; } );
- src/whmcs-client.ts:1486-1490 (handler)The core handler implementation for deleting a quote via WHMCS API 'DeleteQuote' action using the generic call method/** * Delete a quote */ async deleteQuote(params: { quoteid: number }) { return this.call<WhmcsApiResponse>('DeleteQuote', params);
- src/index.ts:1277-1279 (schema)Zod input schema validation for the tool requiring a numeric quote ID parameterinputSchema: { quoteid: z.number().describe('Quote ID'), },