set_thread_lineage
Assign a producer's run_id as the parent_run_id for a thread to attribute nested work to that producer run.
Instructions
Home a producer's run_id on a thread as parent_run_id. Accepts the producer's string as-is (does not mint a parallel id). Empty / whitespace / over-long is rejected. Use when attributing nested work to a producer run; set_thread_result also auto-homes when the payload carries run_id.
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": {
"thread_id": "<thread_id>",
"parent_run_id": "<parent_run_id>"
},
"name": "set_thread_lineage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thread_id | Yes | ||
| parent_run_id | Yes | the producer's run identifier (e.g. waiter envelope run_id) |