Identity + billing-mode self-check
whoamiReturns the calling account's id/email/role plus internal-use eligibility: whether the account is staff-flagged, which domains run free, and how a given target URL would be billed if you submitted a test now. Use this first when you bring TMV into a new project — it confirms the project's API key actually maps to the expected operator account.
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 |
|---|---|---|---|
| targetUrl | No | Optional URL to check billing-mode against (e.g. the project's homepage). When provided, the response includes the exact billing outcome for that target. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Tool result payload (JSON object) |