execute_tool
Sends HTTP requests to call API endpoints by providing tool name and parameters as JSON. Use after discovering tools to execute the selected API call.
Instructions
Execute an OpenAPI tool via HTTP.
Sends the actual HTTP request based on the tool's method and path
from the OpenAPI spec. Use after search_tools() + get_tool_schema()
to call the API.
Args:
tool_name: Exact tool name (as returned by search_tools)
arguments: JSON string of parameter values (e.g. '{"owner":"me","repo":"test"}')
base_url: API base URL (e.g. https://api.github.com). Required if not inferrable.
auth_token: Bearer token for authentication (optional)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool_name | Yes | ||
| arguments | Yes | ||
| base_url | No | ||
| auth_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |