get_site_info
Retrieve Moodle site, user, and token details, and optionally list available Web Service functions with a substring filter.
Instructions
Get site + user + token info (core_webservice_get_site_info). Use include_functions=true at bootstrap to verify which plugin WS functions are exposed to the token.
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": "get_site_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| functions_filter | No | Substring to filter the functions list (only applies if include_functions=true). | |
| include_functions | No | If true, return the full list of WS functions available to the token (can be large — usually 700+). |