Expand description
How a tool calls other tools of its session — through the same dispatch a
model’s own tool call takes (validation, hooks, middleware, telemetry,
permission), so a sub-call can do nothing its caller could not have done
directly. Handed to tools that ask for it (ToolSpec::needs_dispatch);
a skill’s inline command takes the same dispatch through
crate::interface::inline_command::InlineCommands.
Structs§
- Callable
Tool - A tool another tool can call by name.
- Command
Scope - What the sub-calls of one plugin command’s run are held to: they are that
command’s, a read-only run writes nothing, and the files a write run may
change are
writes, globs relative to the project root. - SubCall
Answer - What a sub-call produced: the result’s text, its structured content when
the tool gave one, and whether the tool called it a failure.
Erris the call not running at all — unknown, not callable, refused, invalid.