API Base Templates
This page contains proven template patterns for the most common API integration types. Use these as a starting point for your own custom mid-call actions.GET Request Template
REST API GET Example
- Tool Details
- Query Parameters
| Name* |
REST API GET Example |
| Function Name* | get_user_info |
| HTTP Method | GET |
| Endpoint* | https://api.example.com/users/{user_id} |"User {{name}} ({{email}}) has status {{status}}."
POST Request Template
REST API POST Example
- Tool Details
- Request Body
| Name* |
REST API POST Example |
| Function Name* | create_ticket |
| HTTP Method | POST |
| Endpoint* | https://api.example.com/tickets |"The support ticket was created successfully. Ticket ID: {{ticket_id}}, Status: {{status}}."
Webhook Template
Webhook Notification
- Tool Details
| Name* |
Webhook Notification |
| Function Name* | send_webhook |
| HTTP Method | POST |
| Endpoint* | {webhook_url} |"The webhook notification was sent successfully."
Basic CRM Template
CRM Integration
- Tool Details
| Name* |
CRM Integration |
| Function Name* | get_customer_data |
| HTTP Method | GET |
| Endpoint* | https://api.crm-example.com/customers/{customer_id} |"The customer {{customer_name}} ({{customer_email}}) has status {{customer_status}}. Last contact: {{last_contact_date}}."

