bsp_verify_consent
Validate a ConsentToken to confirm it is valid and contains the required intent before accessing health data.
Instructions
Verify if a ConsentToken is valid and has the required intent
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": {
"token_id": "<token_id>",
"intent": "<intent>"
},
"name": "bsp_verify_consent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intent | Yes | Intent to check (e.g. "READ_RECORDS", "SUBMIT_RECORD"). | |
| token_id | Yes | ConsentToken ID to verify. |