revoke_consent
Revoke a user's consent to share financial data with a bank and remove the local token, stopping all Open Finance access.
Instructions
Revokes a user's consent at a bank and forgets the local token.
Args: subject_id: User's CPF or internal ID. bank: Identifier of the participating bank. ctx: MCP request context, providing access to shared dependencies.
Returns: Confirmation that the consent was revoked.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"subject_id": "<subject_id>",
"bank": "<bank>"
},
"name": "revoke_consent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bank | Yes | ||
| subject_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bank | Yes | ||
| revoked | Yes | ||
| subject_id | Yes |