Selector-based writes with dry-run preview
mutate_feedsPreview changes to matching sources, entries, or collections. Default dry_run:true returns would_affect, sample, and commit_token without changing them. Commit by sending the same op and commit_token; retries replay the recorded result. Explicit dry_run:false applies immediately. sources.move needs set.collection; sources.rename needs set.title; collections.create/rename need set.name. Collections rename/delete need exactly one where.collection. Use manage_collections for direct collection CRUD. Check partial and each outcome after committing. Example: {"op":"collections.create","set":{"name":"Research"}} Example: {"op":"sources.move","where":{"source":{"include":[42]}},"set":{"collection":"Research"}} Example: {"op":"sources.move","commit_token":"<commit_token from preview>"}
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": {
"op": "<op>"
},
"name": "mutate_feeds"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | sources.* use where.source or where.collection, never entry filters. entries.* use the full where predicate. collections.rename/delete select one where.collection; collections.create uses set.name. | |
| set | No | ||
| where | No | Entry selection predicate: fields AND together; omit a field to not filter on it. Source queries/mutations accept only collection and source; use query having for source-health filters. | |
| dry_run | No | Default true: preview affected records and return a commit_token. Explicit false applies immediately; prefer preview then commit_token for agent workflows. | |
| commit_token | No | From a dry run. Single-use and idempotent: resending after a network failure replays the recorded outcome. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||