Skip to main content

Execute Tool Endpoint

POST /v1/execute_tool Execute a tool with specified parameters and get results.

Request Body

Parameters


Response


Examples

Create GitHub PR

Deploy to AWS

Using SDK


Error Responses

Tool Not Found (404)

Invalid Parameters (400)

Timeout (504)

Execution Failed (500)


Best Practices

  1. Always handle errors
  2. Set appropriate timeouts
    • Quick operations: 5-10 seconds
    • API calls: 15-30 seconds
    • Infrastructure tasks: 60+ seconds
  3. Validate parameters before executing
    • Check required fields
    • Validate formats (URLs, names, etc.)
  4. Implement retry logic

Next Steps

Retrieve Tools

Find tools before executing.

Real Examples

See execution flows.

Error Handling

Common error codes.

Ready to execute tools? See sample queries for real workflows! 🚀