accept_session_suggestion_tool
Accept a pending session suggestion to insert or replace it on the multitrack timeline, validating anchors and takes while keeping the change undoable.
Instructions
Place a pending session on the timeline (one undo step, "Added Session N").
An insert opens the session's length at its insert point on every dialogue track and places its takes, room-tone beds and live comments there. A replace removes its range on every dialogue track and puts one take in its place (take_index, else the selected or last take) and discards the other takes' staged segments and the live comments held on them (the result's discarded_takes, comments_not_placed and discard_message say what; one Undo brings them back; the recordings stay in the project). Its range is found again from the audio it was staged on. Refuses a session that is not pending, a range or insert point that is gone or changed (stale_anchor), an unknown take (take_not_found), a take_index on an insert (take_not_applicable), a track the take did not record (track_not_recorded) and pending edits inside the range (pending_edits_in_range). A replace that also removes another track's speech stays unchanged and returns needs_confirmation until you repeat with override_audio_checks=true (recorded). The result lists non-dialogue tracks that did not move (unmoved_track_ids).
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": {
"suggestion_id": "<suggestion_id>"
},
"name": "accept_session_suggestion_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| take_index | No | ||
| project_path | No | ||
| suggestion_id | Yes | ||
| override_audio_checks | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |