Updates a saved filter by savedFilterId. Wraps the updateSavedFilter RPC.
Use with an AI agent
Export this page as Markdown or bundle it with a task for your agent.
Try a task
Preview the prompt that will be copied
Access
- Effect: Changes data
- Required scope:
write(themcpscope also grants it)
Example request
The JSON-RPC message an MCP client sends to call this tool. Your client builds it for you; this is for reference and debugging in a tool such as MCP Inspector.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "update_saved_filter",
"arguments": {
"savedFilter": {}
}
}
}Example IDs refer to fictional demo data. Replace them with IDs from your account before calling the real server.
Description
Updates a saved filter by savedFilterId. Wraps the updateSavedFilter RPC.
Get savedFilterId from list_saved_filters.
If savedFilterId is unknown, pass savedFilterName (exact current name) to resolve it; partial names return candidates instead.
If savedFilterFieldMasks is omitted, masks are inferred from the provided savedFilter fields.Input parameters
| Name | Type | Required | Description |
|---|---|---|---|
savedFilter | object | Yes | |
savedFilterFieldMasks | array | No | |
savedFilterId | string | No | |
savedFilterName | string | No |
Full input schema (JSON Schema)
{
"additionalProperties": false,
"properties": {
"savedFilter": {
"additionalProperties": false,
"properties": {
"description": {
"type": [
"null",
"string"
]
},
"filterCriteria": {
"additionalProperties": false,
"properties": {
"accountIds": {
"items": {
"type": "string"
},
"type": [
"null",
"array"
]
},
"amount": {
"additionalProperties": false,
"properties": {
"maxValue": {
"type": [
"null",
"number"
]
},
"minValue": {
"type": [
"null",
"number"
]
}
},
"type": [
"null",
"object"
]
},
"categories": {
"items": {
"type": "string"
},
"type": [
"null",
"array"
]
},
"currencies": {
"items": {
"type": "string"
},
"type": [
"null",
"array"
]
},
"endDate": {
"type": [
"null",
"string"
]
},
"hasAttachment": {
"type": [
"null",
"boolean"
]
},
"hasDescription": {
"type": [
"null",
"boolean"
]
},
"hasRepeat": {
"type": [
"null",
"boolean"
]
},
"hasSplit": {
"type": [
"null",
"boolean"
]
},
"includeUntagged": {
"type": [
"null",
"boolean"
]
},
"sortBy": {
"type": [
"null",
"string"
]
},
"startDate": {
"type": [
"null",
"string"
]
},
"tags": {
"items": {
"type": "string"
},
"type": [
"null",
"array"
]
},
"type": {
"type": [
"null",
"string"
]
},
"vendors": {
"items": {
"type": "string"
},
"type": [
"null",
"array"
]
}
},
"type": [
"null",
"object"
]
},
"name": {
"type": [
"null",
"string"
]
}
},
"type": "object"
},
"savedFilterFieldMasks": {
"items": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"savedFilterId": {
"type": "string"
},
"savedFilterName": {
"type": [
"null",
"string"
]
}
},
"required": [
"savedFilter"
],
"type": "object"
}