Skip to main content

Module wire

Module wire 

Source
Expand description

Generated golem:tool/common@0.1.0 types used as the wire shape.

Structs§

BoolFlagShape
CommandAnnotations
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.
CommandBody
CommandNode
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”).
CommandTree
Doc
Documentation, examples
ErrorCase
Example
FlagSpec
ForbidsC
Formatter
Globals
ImpliesC
InvocationResult
Invocation contract — shared between guest and host. Both attachment fields must be absent: output bytes use the writers supplied to the guest.
MonomorphicScope
OptionSpec
Options and flags
Positional
Positionals
Positionals (variadic only at the tail, structurally)
RefGroup
RepeatableListShape
RepeatableMapShape
ResultSpec
StreamSpec
Streams, structured results, errors
TailPositional
Tool
Top level
ToolMiddleware
ValueIsRef

Enums§

Constraint
DuplicateKeyPolicy
Resolution policy for a repeated key in a repeatable-map option.
ErrorKind
FlagShape
OptionShape
Quantifier
Ref
Constraints
Repetition
ToolMiddlewareScope

Type Aliases§

CommandIndex
Command tree
SchemaGraph
SchemaValueTree
ToolError
TypeNodeIndex
TypedSchemaValue