Constraints and Safety Translation
Safety metadata from the manifest translates to the tool's metadata object, enabling agent runtimes to enforce guardrails.
Metadata Object
Tool metadata — high-risk write operation
{
"metadata": {
"action_type": "write",
"risk_level": "high",
"idempotent": false,
"confirmation_required": true,
"approval_required": false,
"preconditions": ["cart_validated", "inventory_reserved"],
"postconditions": ["checkout_session_created"],
"side_effects": ["inventory_locked", "payment_hold_created"],
"source_intent": "checkout.begin",
"source_entity": "order"
}
}
Agent Runtime Enforcement
Agent runtimes consuming tools with safety metadata SHOULD:
- Check preconditions before invocation
- Request confirmation for operations where
confirmation_requiredis true - Submit approval requests where
approval_requiredis true - Respect rate limits enforced by the server (
axag-rate-limitis advisory and not carried into the manifest) - Log side effects for audit trails