Skip to main content

Module tools

Module tools 

Source
Expand description

agents tools — CLI-side dispatch for the tool ops. call, list. Each leaf does one socket round-trip to the agent’s per-response_id MCP listener and returns the MCP result.

Modules§

call
agents tools call — connect to the agent’s per-response_id MCP listener socket, run tools/call, and return the MCP CallToolResult. A socket-level err reply (e.g. unknown response id) or a connect/IO failure surfaces as an Error.
list
agents tools list — connect to the agent’s per-response_id MCP listener socket, run tools/list, and return the MCP ListToolsResult. A socket-level err reply or a connect/IO failure surfaces as an Error.

Functions§

execute