pub fn mutates_workspace(annotations: Option<&ToolAnnotations>) -> boolExpand description
Whether a tool mutates workspace files (write/patch/edit). The detection-expanded trifecta axis gates these when in-context untrusted content has been flagged as a likely injection.