navigate_to
Push a named route in a live Flutter app using Navigator.pushNamed to navigate between screens during automated testing or agent-driven interactions.
Instructions
Pushes a named route using Navigator.pushNamed. NOTE: Does NOT work with GoRouter or other custom routers — use tap() to navigate via on-screen elements instead.
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": {
"route": "<route>"
},
"name": "navigate_to"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| route | Yes | Named route to navigate to |