check_consent_status
Check the current status of a user's bank consent. Verify whether consent is active or expired for a given subject and bank, enabling timely renewal or troubleshooting.
Instructions
Checks the current status of a user's consent at a bank.
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: The consent's current status.
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": "check_consent_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bank | Yes | ||
| subject_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bank | Yes | ||
| status | Yes |