List XGR grants for Manage Grants
list_xgr_grantsList grants visible to the permit signer, optionally filtered by RID. This tool returns only grant metadata, never private keys, plaintext or EncDEK. XGR RPC authorizes which recipients may be listed based on the signed permit.
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": {
"scope": "<scope>",
"permit": "<permit>"
},
"name": "list_xgr_grants"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rid | No | Value for the rid parameter. | |
| limit | No | Maximum number of records to return. | |
| scope | Yes | Value for the scope parameter. | |
| permit | Yes | Value for the permit parameter. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Structured result data returned by the XGR MCP gateway. |