plan_create
Create a new step-by-step plan and write it to .opencode/plan.md, enabling an agent to track and resume work from defined steps.
Instructions
Create a new plan and write it to .opencode/plan.md.
Args: steps: List of step descriptions to add to the plan.
Returns: A message reporting the number of created steps on success, or an error message on failure.
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": {
"steps": "<steps>"
},
"name": "plan_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |