tool_invoke
Run any registered tool by name using its keyword arguments, enabling clients with limited context to discover tools via tool_catalog and execute them without loading schemas upfront.
Instructions
Invoke any registered tool by name: the companion to
tool_catalog.
A client with a limited context can expose only the core tools plus
this pair: discover a tool with tool_catalog, then run it here by
name without ever loading its schema. arguments is the tool's
keyword-argument dict.
GET THE ARGUMENT NAMES FIRST. Under the minimal toolset no schema
is loaded up front, so call
tool_catalog(query="<name>", with_schema=True) and use the
parameters/required it returns. Guessing is a real failure
mode: several tools take names that look obvious but are not
(current_amps, not current_a), and the same tool can differ
between backends.
Returns the tool's own result (JSON-decoded), or {"error": ...}
for an unknown/disallowed name. Note: bypassing the schema means
argument mistakes surface as the target tool's own error, not a
pre-validation message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| arguments | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||