set_stream_favorite
Toggle the favorite status of a network traffic stream by providing its stream ID and a boolean flag.
Instructions
Mark or unmark a stream as favorite.
Note: Packmate returns 200 even if the stream id does not exist (no row updated).
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": {
"stream_id": "<stream_id>",
"favorite": "<favorite>"
},
"name": "set_stream_favorite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stream_id | Yes | ||
| favorite | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |