add_rows
Add one or more rows to a database as Markdown files with YAML frontmatter keyed by column ID; invalid keys and select/status values are rejected before writing.
Instructions
Add one or more rows to a database. Each row is a markdown file with YAML frontmatter properties, keyed by column ID (not column name) — unknown keys and invalid select/status option values are rejected before anything is written. For status/select columns, use the option name as the value (e.g., "To Do", "In Progress", "Done", "Archived"). For recurring columns, set value as an object with frequency (daily/weekly/monthly/yearly), resetStatus, and nextReset (YYYY-MM-DD) fields. Optional recurring fields: interval (repeat every N units, e.g. 2 = every 2 weeks), byDays (array of day indices 0=Sun..6=Sat, daily only), and for patterns like "first Monday": monthlyMode "nthWeekday" with nthWeek (1-4, or -1 for last) and nthWeekday (0-6).
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>",
"rows": "<rows>"
},
"name": "add_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | Row data or array of row data. Include "title" for the filename, other properties become frontmatter. Use "_content" for the markdown body. | |
| workspace | Yes | Workspace path or name | |
| databasePath | Yes | Path to the database folder |