Skip to main content

inspect_tools

Function inspect_tools 

Source
pub fn inspect_tools(config: &BlockConfig) -> Vec<ToolMeta>
Expand description

Inspect the tools a BlockConfig will expose to the LLM without actually running the script. Returns the merged list of host_tools (declared in the config) and embedded-block sources.

MCP server tools are deliberately omitted — they only become known after the MCP initialize handshake. Use tool.schema() from inside the running script for that view.