call_endpoint
Invoke any Virtuous API endpoint to read data or modify records, with write operations requiring explicit user confirmation.
Instructions
Invoke ANY Virtuous API endpoint. This gives full coverage of the entire API.
Reads (GET, and POST to Query/QueryOptions/Search/Find/Proximity) run freely. WRITE endpoints (any other POST/PUT/PATCH/DELETE) MODIFY data and obey the confirmation policy: with confirm=false NO call is made and a preview is returned so you can show the user and ask. Only pass confirm=true after the user has explicitly approved the exact action.
Use list_endpoints / describe_endpoint to find the right method + path first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON request body (for POST/PUT/PATCH). | |
| path | Yes | Path template from list_endpoints, e.g. '/api/Contact/:contactId'. | |
| method | Yes | HTTP method: GET, POST, PUT, PATCH, or DELETE. | |
| confirm | No | Required (true) for any WRITE endpoint. Set ONLY after explicit user approval. | |
| path_params | No | Values for :placeholders in the path, e.g. {"contactId": 123}. | |
| query_params | No | Query-string parameters, e.g. {"skip": 0, "take": 50}. |