Batch Array Add
batch_array_addAdds a value to an array property across multiple Markdown files matching a glob pattern, with duplicate skipping by default.
Instructions
Add a value to an array property in multiple files.
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": {
"glob": "<glob>",
"property": "<property>",
"value": "<value>"
},
"name": "batch_array_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| glob | Yes | Glob pattern relative to base directory (e.g. "atoms/**/*.md"). | |
| value | Yes | Value to add. If value is an array, it's added as a single element. | |
| property | Yes | Name of the array property. | |
| allow_duplicates | No | If False (default), skip files where value already exists. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| warnings | No | ||
| updated_count | Yes | ||
| updated_files | Yes |