agy_plan
Inspect the codebase to generate architectural, refactoring, or implementation plans without modifying files. Specify the problem and optional parameters for a detailed plan.
Instructions
Invoke Antigravity in planning mode (--mode plan) to inspect the codebase and generate an architectural, refactoring, or implementation plan without modifying any files.
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": {
"prompt": "<prompt>"
},
"name": "agy_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Specific model override (e.g. "gemini-3.1-pro-high", "claude-opus-4-6-thinking"). | |
| effort | No | Reasoning effort level (defaults to "high" for architectural planning). | |
| prompt | Yes | The feature, refactor, or problem to plan (e.g. "Plan migration from REST to GraphQL", "Audit security of session cookies"). | |
| add_dirs | No | Additional workspace directories to include. | |
| workspace_dir | No | Workspace directory to inspect (defaults to current working directory). | |
| conversation_id | No | Optional conversation ID to build upon an existing context. | |
| timeout_seconds | No | Execution timeout in seconds (default: 300 / 5 minutes). |