Skip to main content

Module declaration

Module declaration 

Source
Expand description

Tool names and source-neutral executable declarations. Tool identities and complete executable declarations.

ToolInfo carries schemas, interaction capabilities and model-visible metadata. ToolName is the rendered identity; native MCP routing stays private.

Structsยง

ToolAnnotations
Source-neutral tool behavior hints. These hints describe expected behavior; they do not enforce permissions or retry safety.
ToolIcon
Source-neutral icon metadata.
ToolInfo
Complete source-neutral declaration for one executable tool. A declared output schema requires structured content on every successful result. Missing content fails; explicit JSON null is validated against the schema. Model-visible error results (is_error = true) are exempt from output-schema validation.
ToolName
Portable executable tool identifier.