pub fn process_command_tool(
name: ToolName,
description: &str,
) -> Result<RegisteredTool, ProcessCommandToolError>Expand description
Creates a registered process command tool for runtime agent loops.
The provider-visible tool accepts a JSON object with a shell command,
nullable workspace-relative cwd, and optional capabilities to request
before execution. The returned registered tool is a CommandExec action
with proposal evidence enabled, so admitted execution goes through runtime
process policy and an injected crate::ProcessRunner.