Skip to content

pi_llm_agent.validation

validation

Tool argument validation for the agent package.

validate_agent_tool_arguments(tool, tool_call)

Validate tool call arguments against the agent tool's JSON Schema.

Converts AgentTool to a pi_llm Tool and delegates to pi_llm.utils.validation.validate_tool_arguments.