get_opportunita
Retrieve complete opportunity details by ID from VTENext CRM to access sales pipeline information and customer data.
Instructions
Recupera i dettagli completi di un'opportunità tramite ID
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID dell'opportunità (es. 13x42) |
Implementation Reference
- index.js:46-57 (handler)The tool 'get_opportunita' is defined and implemented here, using `client.retrieve(id)` to fetch data.
server.tool( 'get_opportunita', 'Recupera i dettagli completi di un\'opportunità tramite ID', { id: z.string().describe('ID dell\'opportunità (es. 13x42)'), }, async ({ id }) => { const result = await client.retrieve(id); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }], }; }