Skip to main content

Crate runifold_tool

Crate runifold_tool 

Source
Expand description

Typed and capability-gated tool execution for Runifold.

Structs§

FunctionTool
A typed asynchronous Rust function exposed through the canonical Tool boundary.
State
Shared application state injected into a typed Tool handler.
ToolContext
Execution scope for one tool invocation.
ToolDescriptor
Versioned model-facing and policy-facing description of a tool.
ToolError
Structured tool execution error.
ToolLimits
Immutable-name registry and capability gate for tools.
ToolOutput
Successful canonical tool output.
ToolRegistry
Immutable-name Tool registry with compiled contracts and bounded I/O.

Enums§

ToolErrorKind
Normalized tool failure category.
ToolRegistrationError
Failure to add a tool to a registry.

Traits§

IntoToolError
Explicit conversion from an application error into a safe Tool failure.
Tool
Object-safe execution boundary implemented by tools.

Type Aliases§

ToolFuture
A boxed, sendable future returned by a tool.