check_permission
Determines whether a caller can read or write a specified MCP resource, enforcing the permission matrix. For write actions, applies the MX-3 gating rule to decide access.
Instructions
权限矩阵执行点:caller x MCP x read/write,写工具按 MX-3 收口判定。
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": {
"caller": "<caller>",
"mcp_id": "<mcp_id>"
},
"name": "check_permission"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | read | |
| caller | Yes | ||
| mcp_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||