JsonFabrica whoami
jsonfabrica_whoamiRetrieves the tenant ID and role associated with the configured API key from the JsonFabrica gateway.
Instructions
Calls GET /v1/whoami on the JsonFabrica gateway using the configured API key. Returns { tenantId, role } for the configured JSONFABRICA_API_KEY.
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": "jsonfabrica_whoami"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | Role associated with the configured API key. | |
| tenantId | Yes | Tenant id resolved from the configured API key. |