Skip to main content

Module tools

Module tools 

Source
Expand description

Tool APIs, execution, built-ins, approvals, permissions, and command safety. Tool APIs, execution, built-ins, approvals, permissions, and command safety.

Re-exports§

pub use executor::ToolExecutionEvent;
pub use executor::ToolExecutionOutput;
pub use executor::ToolExecutionStreamItem;
pub use executor::execute_tool_calls_stream;
pub use api::*;
pub use approval::*;
pub use builtin::*;
pub use permissions::*;

Modules§

api
Tool abstraction — pluggable side-effectful capabilities exposed to the model.
approval
Asynchronous human-in-the-loop approval for tool calls.
builtin
Built-in tools: shell, file read/write/edit, glob, grep.
command_security
Static command analysis used by tool permission decisions.
executor
Tool execution engine with batching and streaming support.
permissions
Rule-based permission engine.