Decide whether an agent is authorized to act
check_authorizationEvaluates an agent's credentials against a trust policy and returns an auditable allow/deny decision, including missing credentials and matched deny rules.
Instructions
Evaluate an agent against a trust policy and return an allow/deny decision with the reasons. The result reports which required credentials are missing and which deny rules matched, so the decision is auditable rather than a bare boolean.
The caller's policy is combined with the server operator's policy file, if one is configured. The operator's deny and ban rules are applied on top of the caller's and cannot be waived by them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | ||
| agent_did | Yes | ||
| banned_agents | No | ||
| denied_issuers | No | ||
| credential_type | Yes | ||
| trusted_issuers | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||