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.
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"
}
}
}
Stores exposing the intent_revoke tool
Get the agentic commerce digest every Monday
Real adoption data, ecosystem trends, new spec versions, and the stores that broke or recovered this week. Read by founders and engineers building the next generation of commerce.
