modx_virtualpage_resolve_route
Simulate VirtualPage route matching to determine the handler and vp.* placeholders for a given URI, path, or method before relying on MODX routing.
Instructions
Simulate VirtualPage route matching and return handler plus vp.* placeholders.
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_virtualpage_resolve_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | No | ||
| path | No | ||
| method | No |