Skip to main content

Module tool

Module tool 

Source
Expand description

Tool schema — the wire-facing description of a tool’s parameters.

This is the minimal, self-contained piece of the tool layer that providers need: defect-llm serializes ToolSchema into provider wire JSON. The full tool trait, ToolContext, and runtime plumbing live in defect-agent::tool (they depend on the session runtime and so cannot live here).

Structs§

ToolSchema
A tool’s wire-facing schema: name, description, and a JSON Schema for its parameters.