Result of a Tool Gateway scope check against an ExecutionToken.
| 82 | |
| 83 | |
| 84 | class ScopeCheckResult(BaseModel): |
| 85 | """Result of a Tool Gateway scope check against an ExecutionToken.""" |
| 86 | passed: bool |
| 87 | violations: list[str] = Field(default_factory=list) |
| 88 | |
| 89 | @property |
| 90 | def blocked(self) -> bool: |
| 91 | return not self.passed |
| 92 | |
| 93 | |
| 94 | class ExecutionToken(BaseModel): |