host.tool_call
Invoke a tool this tenant has already published, by its local name -- the same real, metered call as calling it directly by its namespaced name (.), for a session that has no way to see its own namespaced tool name yet. Unlike host.tool_test, this counts toward host.usage and appears in host.tool_logs. Pass async: true for a tool that needs more than the call deadline: returns {run_id, status: "queued"} immediately instead of running inline -- see host.runs.get/wait. Pass version to pin the call to one of host.tool_history's versions instead of whichever is current.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | Yes | Arguments to pass, validated against the tool's own args_schema. | |
| name | Yes | Local name of the tool to invoke. | |
| async | No | Run as a job instead of inline: returns {run_id, status} within ~50ms under the plan's job_max_s deadline; default false. | |
| version | No | Pin the call to this version instead of whichever is current; see host.tool_history. An unknown version is an argument error. | |
| tenant_key | No | The key `signup` returned. Required only when this connection carries no Authorization: Bearer header -- when both are present, the header wins. |