execute_tool
Send an HTTP request to execute an OpenAPI tool based on its method and path. Requires tool name and arguments, with optional base URL and auth token.
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 |