check_policy · Would this transaction pass?
read-onlyRules on one call before anything is signed: pass, hold (time-locked) or refuse, with the door that stopped it (lock, guest list, counter) and the amount counted. With vault, the vault contract rules itself and the agent's execute is simulated against the live chain. Without vault, a sample policy is used.
Input schema
{
"type": "object",
"properties": {
"vault": {
"type": "string",
"description": "The vault address. Omit to use the sample policy."
},
"target": {
"type": "string",
"description": "The contract or address the agent wants to call (0x…)."
},
"value": {
"type": "string",
"description": "ETH to send with the call, as a decimal (e.g. \"0.04\"). Default 0."
},
"data": {
"type": "string",
"description": "The calldata, 0x-prefixed hex. Empty for a plain ETH send."
}
},
"required": [
"target"
]
}