Structs§
- Invocation
Result - Successful result of a tool invocation.
- Monomorphic
Tool Middleware Scope - Process
Exit Status - A completed command’s shell-visible status, distinct from a failure to execute the tool.
- RawCustom
Tool Error - A custom tool error whose payload is decoded only on explicit inspection.
- Tool
- Top-level tool metadata record.
- Tool
Middleware - Metadata describing a tool middleware component.
- Tool
Output Writer - Host-owned writer supplied to a tool or middleware implementation. Exactly
one write, finish, or fail operation may be outstanding. The first terminal
is immutable; dropping an open writer selects
abandoned. - Typed
Underlying Invocation - Typed view of a started underlying invocation generated for a tool command.
- Underlying
Invocation - One admitted invocation of the next middleware layer.
- Underlying
Tool - Invocation-scoped access to exactly the next inner tool-middleware layer.
Enums§
- Principal
- Tool
Invoke Error - Exact error channel shared by middleware guest dispatch and its underlying layer.
- Tool
Middleware Scope
Functions§
- decode_
result_ empty - decode_
result_ outputs_ only - decode_
result_ stderr_ only - decode_
result_ stdout_ only - decode_
result_ value - decode_
result_ with_ outputs - decode_
result_ with_ stderr - decode_
result_ with_ stdout
Type Aliases§
- Input
Stream - Readable byte stream used for tool stdin and tool outputs.