Add Rows to SiYuan Database
av_addRowAdd rows to a SiYuan database attribute view by providing the view ID and row data objects. Populate existing databases with new records.
Instructions
Add rows to an existing database
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": {
"avID": "<avID>",
"rows": "<rows>"
},
"name": "av_addRow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| avID | Yes | Attribute View ID | |
| rows | Yes | Row data objects, where keys are column names |