Skip to main content

Module actions

Module actions 

Source

Functionsยง

action_matches_any
action_qualified_policy_name
Return the policy identity for actions whose risk differs from their otherwise low-risk parent tool.
command_session_action
Determine the action for command_session tool based on args. Returns the action string or None if no inference is possible.
command_session_action_in
command_session_action_is
file_operation_action
Determine the action for file_operation tool based on args. Returns the action string or a default if inference is possible.
file_operation_action_in
file_operation_action_is
mcp_action
Return the explicit action requested through the consolidated MCP tool.
mcp_action_is