A registered tool definition: either a static ToolEntry or a ToolEntryBuilder that builds one from ToolBuildOptions at agent-creation time. Used wherever the tool registry, resolver, and setup pipeline accept either form interchangeably.
The ToolState shape this tool requires. Default: base ToolState.
ToolState
Optional per-tool scope shape (only relevant for builder form). Defaults to never for non-scopable tools.
never
A registered tool definition: either a static ToolEntry or a ToolEntryBuilder that builds one from ToolBuildOptions at agent-creation time. Used wherever the tool registry, resolver, and setup pipeline accept either form interchangeably.