azeth_guardian_approve
Review and respond to guardian approval requests from your agents. Approve to co-sign operations or reject with a reason.
Instructions
Review and approve or reject guardian approval requests from agents you protect.
Azeth smart accounts have a guardian who co-signs high-value operations. When an agent exceeds its autonomous spending limits, it sends you (the guardian) an approval request via XMTP. Use this tool to review and respond to those requests.
Three modes:
No request_id: Lists all pending guardian approval requests from your XMTP inbox
request_id + decision "approve": Co-signs the userOpHash and sends approval via XMTP
request_id + decision "reject": Sends rejection with optional reason via XMTP
When approving, this tool signs the userOpHash with your AZETH_PRIVATE_KEY (which is the guardian key on your MCP instance) and sends the signature back to the requesting agent.
Returns: List of pending requests (mode 1), or confirmation of approve/reject (mode 2/3).
Example (list): { } Example (approve): { "request_id": "abc-123", "decision": "approve" } Example (reject): { "request_id": "abc-123", "decision": "reject", "reason": "Amount too high" }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request_id | No | The request ID to approve or reject. If omitted, lists all pending guardian approval requests from your XMTP messages. | |
| decision | No | Decision: "approve" to co-sign the operation, "reject" to deny it. Required when request_id is provided. | |
| reason | No | Optional reason for rejection. Only used when decision is "reject". | |
| chain | No | Target chain. Defaults to AZETH_CHAIN env var or "baseSepolia". Accepts "base", "baseSepolia", "ethereumSepolia", "ethereum" (and aliases like "base-sepolia", "eth-sepolia", "sepolia", "eth", "mainnet"). |