Replace Synoptic stream targets
set_stream_custom_targetsReplace the signed-in user’s selected targets on a Synoptic custom-target stream and return the saved list. Targets, such as accounts, channels, repositories, or keywords in the format get_stream describes, choose which of the stream’s posts the user receives. Posts for removed targets stop appearing in the user’s stream reads, post searches, and WebSocket API delivery, and in open Synoptic app feeds after they reconnect; an empty list leaves none. Removed targets are then also removed from the user’s collection sources limited to specific targets, and such a source left with no targets is deleted. The stream’s owner receives all followers’ targets and may use them to decide what to collect. Requires an active direct subscription; values must match the stream’s target format and fit the subscription’s target allowance. Does not purchase access or confirm that targets are collected.
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": {
"streamId": "<streamId>",
"customTargets": "<customTargets>"
},
"name": "set_stream_custom_targets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| streamId | Yes | ID of an existing custom-target stream. Use get_stream to read its target-format instructions. | |
| customTargets | Yes | Complete replacement list in the stream’s required target format. An empty array clears all selections. Use get_stream_custom_targets to inspect saved values or patch_stream_custom_targets for a narrow change. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customTargets | Yes |