update_rows
Modify database rows by ID or matching criteria, changing frontmatter properties and body content for targeted record updates.
Instructions
Update rows by ID (file path) or matching criteria. Can update frontmatter properties and content.
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": {
"workspace": "<workspace>",
"databasePath": "<databasePath>",
"updates": "<updates>"
},
"name": "update_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | Row IDs (file paths) to update | |
| where | No | Criteria to match rows for update (e.g., {"status": "Todo"}) | |
| updates | Yes | Properties to update. Use "title" to rename, "_content" to update body. | |
| workspace | Yes | Workspace path or name | |
| databasePath | Yes | Path to the database folder |