commit
Save session state—current work, decisions, next steps, and errors—to persistent memory so future sessions can restore context.
Instructions
Save session state (work, decisions, next steps, errors) to the Sun.
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": {
"current_work": "<current_work>"
},
"name": "commit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | Active errors or blockers. | |
| context | No | Additional project background. | |
| project | No | Target project (default: auto-detected from cwd). Use when committing for a different project. | |
| decisions | No | Decisions made this session. | |
| next_steps | No | Concrete next actions for future sessions. | |
| current_work | Yes | What is currently being worked on. |