Replace the feed's field rules
update_field_rulesReplaces the entire fieldRules array on a feed. Field rules transform individual g:* fields in the served XML — common uses: title truncation, brand prefix, removeSuffix for the title-eats-description bug, stripHtml, formatPrice. Read with get_feed first if you want to append; this call OVERWRITES existing rules. Returns the count.
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": {
"feedId": "<feedId>",
"rules": "<rules>"
},
"name": "update_field_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rules | Yes | Complete field-rules array. Empty array = no transforms. | |
| feedId | Yes |