planner
Plan, revise, and explore alternatives for complex tasks using structured multi-step sequences. Manage branches, adjust scope, and define requirements with AI-assisted guidance for optimal outcomes.
Instructions
Multi-step planning with revisions and branches
Input Schema
Name | Required | Description | Default |
---|---|---|---|
branchId | No | Identifier for this planning branch (e.g., 'approach-A', 'microservices-path') | |
branchingFrom | No | If isBranching is true, which step number to branch from | |
isBranching | No | True if exploring an alternative approach from a previous step | |
isRevision | No | True if this step revises a previous step | |
provider | No | AI provider to use for planning assistance | gemini |
requirements | No | Specific requirements, constraints, or success criteria | |
revisingStep | No | If isRevision is true, which step number is being revised | |
scope | No | Planning scope and depth | standard |
stepNumber | Yes | Current step number in the planning sequence (starts at 1) | |
task | Yes | The task or problem to plan. For the first step, describe the complete planning challenge in detail. For subsequent steps, provide the specific planning step content, revisions, or branch explorations. | |
totalSteps | Yes | Current estimate of total steps needed (can be adjusted as planning progresses) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"branchId": {
"description": "Identifier for this planning branch (e.g., 'approach-A', 'microservices-path')",
"type": "string"
},
"branchingFrom": {
"description": "If isBranching is true, which step number to branch from",
"type": "number"
},
"isBranching": {
"default": false,
"description": "True if exploring an alternative approach from a previous step",
"type": "boolean"
},
"isRevision": {
"default": false,
"description": "True if this step revises a previous step",
"type": "boolean"
},
"provider": {
"default": "gemini",
"description": "AI provider to use for planning assistance",
"enum": [
"openai",
"gemini",
"azure",
"grok"
],
"type": "string"
},
"requirements": {
"description": "Specific requirements, constraints, or success criteria",
"type": "string"
},
"revisingStep": {
"description": "If isRevision is true, which step number is being revised",
"type": "number"
},
"scope": {
"default": "standard",
"description": "Planning scope and depth",
"enum": [
"minimal",
"standard",
"comprehensive"
],
"type": "string"
},
"stepNumber": {
"description": "Current step number in the planning sequence (starts at 1)",
"minimum": 1,
"type": "number"
},
"task": {
"description": "The task or problem to plan. For the first step, describe the complete planning challenge in detail. For subsequent steps, provide the specific planning step content, revisions, or branch explorations.",
"type": "string"
},
"totalSteps": {
"description": "Current estimate of total steps needed (can be adjusted as planning progresses)",
"minimum": 1,
"type": "number"
}
},
"required": [
"task",
"stepNumber",
"totalSteps"
],
"type": "object"
}