tool

module
v0.0.0-...-042b2b3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2026 License: MIT

Directories

Path Synopsis
builtin
delegation
Package delegation is the delegate tool: the model's way to hand work to another agent.
Package delegation is the delegate tool: the model's way to hand work to another agent.
exec
Package exec implements the built-in command tool: run one command line in the sandbox and return its output.
Package exec implements the built-in command tool: run one command line in the sandbox and return its output.
files
Package files implements the built-in file tools: read_file, write_file and list_dir.
Package files implements the built-in file tools: read_file, write_file and list_dir.
skills
Package skills implements the built-in skill tools: search a discovered catalog and load one skill's full instructions.
Package skills implements the built-in skill tools: search a discovered catalog and load one skill's full instructions.
Package dispatch executes one tool call: it refuses a call without a binding, refuses a tool the session's grant does not allow, resolves the name against the process table, and invokes the tool with exactly the capabilities it declared.
Package dispatch executes one tool call: it refuses a call without a binding, refuses a tool the session's grant does not allow, resolves the name against the process table, and invokes the tool with exactly the capabilities it declared.
internal
fsatomic
Package fsatomic publishes a file atomically: the payload goes to a temp file in the destination directory, optionally fsynced, then renamed over the target.
Package fsatomic publishes a file atomically: the payload goes to a temp file in the destination directory, optionally fsynced, then renamed over the target.
Package mcp attaches Model Context Protocol servers to a [tool.Registry], turning every tool a server exposes into an ordinary [tool.Tool].
Package mcp attaches Model Context Protocol servers to a [tool.Registry], turning every tool a server exposes into an ordinary [tool.Tool].
Package middleware carries the built-in cross-cutting concerns for tool dispatch.
Package middleware carries the built-in cross-cutting concerns for tool dispatch.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL