Create or change a keyword monitor
save_monitorSaves a keyword monitor on a listening account: without monitorId creates one, with monitorId changes it. Created: an hourly sweep searches query once intervalMinutes (at least 15, default 60) have passed since the last run and stores new matches for get_monitor_hits; run_monitor runs it now. A term already monitored with the same searchType on the account is refused. Saved even while the account needs reconnecting; it starts running once reconnected. Changed: enabled=false pauses and true resumes (resuming also clears a monitor the sweep stopped after repeated failures), intervalMinutes and name change; query, searchType, mediaType and authorUsername are fixed once created, and enabled applies only to a change.
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": {
"platform": "<platform>",
"accountId": "<accountId>"
},
"name": "save_monitor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | A label; defaults to the query | |
| query | No | The search term; required to create, fixed once created | |
| enabled | No | With monitorId only: false pauses, true resumes | |
| platform | Yes | The account's platform, from list_listening_accounts | |
| accountId | Yes | The account's accountId, from list_listening_accounts | |
| mediaType | No | Create only, Threads only: only posts of this type | |
| monitorId | No | The monitor's `id` from list_monitors, to change it; omit to create a monitor | |
| workspace | No | Act in a team workspace: the owner's id from whoami's memberOfWorkspaces[].ownerId. Omit to act in your own workspace. | |
| searchType | No | Create only: default RECENT | |
| authorUsername | No | Create only, Threads only: only posts by this handle | |
| intervalMinutes | No | Minutes between runs (default 60) |