Expand description
Provider-fabric verdict shim.
Wires the provider-agnostic chio_tool_call_fabric crate into the kernel
via a thin conversion layer. Lifts a ToolInvocation into a kernel
ToolCallRequest (when paired with the surrounding capability context)
and lowers a kernel ToolCallResponse into a fabric VerdictResult.
The shim is a single conversion point so the fabric vocabulary never leaks
into the kernel’s internals.
Enums§
- Provider
Verdict Error - Errors surfaced when adapting fabric types into the kernel’s MCP path.
Constants§
- FABRIC_
SHIM_ PROVIDER_ LANES - Marker constant tying the shim to the fabric crate version it was built against. Used by the workspace’s drift checks to flag when the fabric trait surface evolves without the kernel shim being revisited.
Functions§
- build_
tool_ call_ request - Build a
ToolCallRequestfrom a fabricToolInvocationplus the surrounding kernel context (capability token, calling agent, target tool server). All policy decisions remain withevaluate_tool_call*; this helper only translates the wire shape. - canonical_
invocation_ bytes - Stable canonical-JSON byte form of a
ToolInvocation. - verdict_
result_ from_ response - Lower a kernel
ToolCallResponseinto a fabricVerdictResult.