Propose workspace change
propose_workspace_changePropose a full workspace.toml replacement: validates config, rejects invalid input, stores a pending proposal with a unified diff, and applies nothing. Use the baseHash from get_workspace_config.
Instructions
Propose a full replacement workspace.toml. It is validated first (invalid configs are rejected with the errors) and stored as a pending proposal with a unified diff; nothing is applied. baseHash must be the one get_workspace_config returned.
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": {
"toml": "<toml>",
"baseHash": "<baseHash>",
"rationale": "<rationale>"
},
"name": "propose_workspace_change"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toml | Yes | Full new workspace.toml text, secret placeholders unchanged | |
| baseHash | Yes | baseHash from get_workspace_config | |
| rationale | Yes | Why this change, in one or two sentences for the reviewer |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| diff | No | ||
| next | No | ||
| errors | No | ||
| proposal | No | ||
| proposalId | No | ||
| restartRequired | No |