Skip to main content
Use ToolCall for one registered tool and PipelineCall for a complete pipeline. Run these examples from the repository root; sayhello requires no external model.

ToolCall

Pass keyword arguments, or expand a dictionary with **parameters. Missing arguments are filled from the server parameter file. Initialization is process-wide; finish active calls and release resources before reconfiguring services or leaving the process.

Async ToolCall

PipelineCall

Generate the parameter and server configuration first:
Inside a running async event loop, use await PipelineCall(...). PipelineCall owns the execution client for that run. Omitting no_mcp=True uses the default MCP transport and requires the mcp extra; mixed remote MCP entries also require it in local mode.