Update documents in an Infino table
infino_update_documentsReplace documents matching a SQL predicate with new rows, one-for-one, using local embeddings when vectors are omitted.
Instructions
Replace the rows matching a SQL predicate with new documents, 1:1; the number of matched rows must equal the number of replacement documents. As with add, a row that omits its vector has it embedded from the text column (local model, no API key). Requires durable storage (not memory://).
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": {
"table": "<table>",
"predicate": "<predicate>",
"documents": "<documents>"
},
"name": "infino_update_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table to update. | |
| documents | Yes | Replacement rows, as JSON objects keyed by column name (one per matched row). | |
| predicate | Yes | SQL predicate selecting the rows to replace, e.g. "status = 'draft'". |