intent_revoke
Revokes a registered Intent and its still-open orders. Orders that already completed or failed are left untouched. IMPORTANT — THIS DOES NOT STOP THE AGENT FROM PAYING. An Intent is a coordination record. The signed mandate that authorizes spending is a separate object and stays valid: to stop spending call ap2_revoke_mandate on the delegation. Revoking the Intent records that the instruction is closed; it does not withdraw authority. WHEN TO CALL: - The instruction behind the Intent is abandoned and its pending orders should not be pursued - After revoking the underlying mandate, to close the coordination record too Input: intent_id (required), reason (optional, recorded) Output: revoked, already_revoked, revoked_orders, preserved_orders, message Only Intents registered by the calling agent can be revoked, and revoking an already revoked Intent is not an error. An unknown or not-yours intent_id gives the same answer, and does not reveal which is which.
Each store has its own status page. To find more, search the directory.
Input schema
{
"type": "object",
"required": [
"intent_id"
],
"properties": {
"reason": {
"type": "string",
"description": "Why, recorded on the Intent and on the stopped orders"
},
"intent_id": {
"type": "string",
"description": "The Intent to revoke"
}
}
}
