dhp_require_capability
Verifies a handoff contract grants a domain and resource before network, filesystem, or external service access; audits every check to fail closed.
Instructions
Fail-closed capability check: verify the handoff's contract grants (domain, resource) before touching network, filesystem, or external services. Every check is audited.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"handoff_id": "<handoff_id>",
"worker_id": "<worker_id>",
"domain": "<domain>",
"resource": "<resource>"
},
"name": "dhp_require_capability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | ||
| resource | Yes | ||
| worker_id | Yes | ||
| handoff_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |