Expand description
Generated golem:tool/common@0.1.0 types used as the wire shape.
Structs§
- Bool
Flag Shape - Command
Annotations - Behavioral hints surfaced to MCP and other LLM-facing
surfaces. All four follow the MCP convention. When absent
the surface treats them as untrusted defaults
(
destructive: true,open-world: true,read-only: false,idempotent: false), per MCP guidance. - Command
Body - Command
Node - A command may dispatch to subcommands, run its own body, or both. Globals declared here apply to this command’s own body and to every descendant subcommand body (recursive globals — “this level and downward”).
- Command
Tree - Doc
- Documentation, examples
- Error
Case - Example
- Flag
Spec - ForbidsC
- Formatter
- Globals
- ImpliesC
- Invocation
Result - Invocation contract — shared between guest and host. Both attachment fields must be absent: output bytes use the writers supplied to the guest.
- Monomorphic
Scope - Option
Spec - Options and flags
- Positional
- Positionals
- Positionals (variadic only at the tail, structurally)
- RefGroup
- Repeatable
List Shape - Repeatable
MapShape - Result
Spec - Stream
Spec - Streams, structured results, errors
- Tail
Positional - Tool
- Top level
- Tool
Middleware - Value
IsRef
Enums§
- Constraint
- Duplicate
KeyPolicy - Resolution policy for a repeated key in a
repeatable-mapoption. - Error
Kind - Flag
Shape - Option
Shape - Quantifier
- Ref
- Constraints
- Repetition
- Tool
Middleware Scope