modx_regenerate_token
Rotate the MODX MCP API token to a fresh random value. Update MODX_MCP_TOKEN in your client config immediately; the previous token becomes invalid and further calls are unauthorized.
Instructions
Rotate the modxmcp.api_token to a fresh random value and return it. NOTE: this invalidates the current token — update MODX_MCP_TOKEN in your client config immediately, or the next call will be unauthorized.
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": "modx_regenerate_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||