Overview
Executes a specific tool from your stack with the provided input parameters. This endpoint allows you to programmatically invoke any enabled tool in your stack.Endpoint
Authentication
This endpoint requires an API key. Include it in the Authorization header:Path Parameters
string
required
The unique identifier of the stack containing the tool
string
required
The unique identifier of the tool to invoke
Request Body
object
required
Input parameters for the tool execution. The structure depends on the specific tool being invoked.
Use the List Stack Tools endpoint to see the required input schema for each tool.
Response
The response format varies depending on the tool being invoked. Each tool returns its results in a JSON object.object
The output from the tool execution. Structure varies by tool.
Example Requests
Send Email via Gmail
Create Linear Issue
Search Emails
Example Responses
Gmail Send Email Response
Linear Create Issue Response
Gmail Search Emails Response
Error Handling
Tool Execution Errors
When a tool fails to execute properly, the response will include error details:Common Tool Errors
- Invalid parameters: Tool input doesn’t match the required schema
- Authentication failure: Tool credentials are missing or invalid
- Service unavailable: The external service (Gmail, Linear, etc.) is temporarily unavailable
- Rate limiting: Too many requests to the external service
- Permission denied: Credentials don’t have necessary permissions
Best Practices
Input Validation
Always validate your input parameters before making the request:Error Handling
Implement proper error handling for tool invocations:Retry Logic
Implement retry logic for temporary failures:Error Responses
Invalid tool input parameters
Invalid or missing API key
Stack or tool not found
Rate limit exceeded
Tool execution failed

