whoami
Identify the Moodle user, site, and permitted web-service functions tied to your token. Use it as the first diagnostic step when API calls fail.
Instructions
Who the token belongs to, which Moodle it points at, and how many web-service functions that token is allowed to call. Run this first when something fails.
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 | |||