ensemble_write_part
Write a voice part for an ensemble session, validating notation against the session header. Pass the base_version to prevent overwriting; if outdated, receive the current version to rebase.
Instructions
Write your voice's part. The notation is parsed and checked against the session header before anything reaches disk. Pass the base_version you read; if the voice has moved on the write is refused and you are given the current part to rebase onto.
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": {
"session": "<session>",
"voice": "<voice>",
"agent": "<agent>",
"content": "<content>",
"base_version": "<base_version>"
},
"name": "ensemble_write_part"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | Yes | Who you are. | |
| voice | Yes | The voice you are writing. | |
| content | Yes | The part: section headers and rows for your voice only, no header block. | |
| session | Yes | Session name. | |
| summary | No | One line saying what you changed, for the log. | |
| base_version | Yes | The version you read this voice at. |