Skip to main content

Module tools

Module tools 

Source
Expand description

Programmatic Tool Calling interface for the dkod Agent Protocol.

Provides tool definitions compatible with Anthropic’s allowed_callers mechanism. These definitions can be passed directly to the Messages API tools= parameter, or loaded from the generated dkod-tools.json manifest.

Structs§

ToolDefinition
A single tool definition in Anthropic’s tool format.

Functions§

generate_manifest
Serialize all tool definitions to a JSON string (for dkod-tools.json).
tool_definitions
Returns all 6 dkod tool definitions for programmatic calling.