Stitch episode audio
grok_stitchReport a podcast job's generation status and — once its stored dialogue chunks exist — re-stitch them with the show intro/outro bookends and return the final audio path. Poll this after grok_generate_audio; also re-runs the stitch to apply updated bookends without paying for generation again.
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": {
"job_id": "<job_id>"
},
"name": "grok_stitch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Podcast job id (uuid) from grok_generate_audio. | |
| intro_path | No | Optional podcast-audio storage path to use as the intro instead of the show default. | |
| outro_path | No | Optional podcast-audio storage path to use as the outro instead of the show default. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| error | No | Present only when ok is false. | |
| status | No | ||
| stitched | No | ||
| audio_path | No | ||
| episode_id | No | ||
| normalized | No |