mcp.self.whoami
查询当前连接身份、绑定系统用户、权限与组织上下文(排障用,不泄露令牌)。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "mcp.self.whoami"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| authorization | No | ||
| workbuddy_user_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |