Read routing rules
routing_readRead-only: the project's routing.json. action "get": the file and whether it is in force. "check": what a visitor with no password gets at path (env, default preview; or host, another address under the site domain such as an old slug's), asked from outside through the routing, since http_get and http_request skip it; with username and password (a test password you set, never the owner's), whether that sign-in gets in. To change it use the routing tool.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>",
"project": "<project>"
},
"name": "routing_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | check: default preview. | |
| host | No | check: ask another address under the platform's site domain instead, e.g. the old <slug>.lazyfrog.app after a slug rename: a redirect says where it goes, with path and query. | |
| path | No | check: the path to ask for, e.g. "/staff". | |
| action | Yes | ||
| project | Yes | Project slug or id. | |
| password | No | check: a test password you set yourself; never ask the owner for theirs. It isn't kept. | |
| username | No | check: try a sign-in with this username and password through the public address. |