pub fn parse_with_agent_surface_from<T, I>(
spec: &ToolSpec,
argv: I,
) -> Result<AgentDispatch<T>, Error>Expand description
Parse argv against the normal or agent-filtered surface for a clap CLI.
ยงErrors
Returns a clap error when parsing fails or when an unknown agent capability is requested.