Get current CNB user
whoamiReturns the CNB user associated with the upstream token, so you can verify authentication before using other CNB Remote MCP tools.
Instructions
Return the CNB user that the upstream token belongs to. Use this first to verify authentication works.
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": "whoami"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||