Option C Tools
Loading...
Searching...
No Matches
oct.mcp.policy.PolicyDecision Class Reference

Detailed Description

The result of a :meth:`McpPolicy.check` call.

Attributes
----------
allowed
    ``True`` iff the tool call should proceed.
decision
    Human-readable decision string: ``"allowed"``, ``"denied"``,
    or ``"requires_confirmation"``.
policy_rule
    Short identifier for the rule that produced this decision.
reason
    Human-readable reason (included in audit records and error
    responses).

Definition at line 234 of file policy.py.


The documentation for this class was generated from the following file:
  • G:/PythonApps/Option_C/oct/oct/mcp/policy.py