database_semantic_update
Changes the columns or text search language of a table that already has semantic search. Changing the columns re-embeds every row, and the dry run prices that; changing only the language rebuilds the keyword index and costs nothing. While the re-embed runs, search keeps answering from the vectors already there.
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": {
"productId": "<productId>",
"databaseId": "<databaseId>",
"table": "<table>"
},
"name": "database_semantic_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | A table in the database, as schema.table or just table (public is assumed). It needs a single-column primary key. | |
| columns | No | The text columns that describe a row, in the order they should be read, e.g. ["title", "body"]. Only these columns are sent to the embedding model; the rest of the row never leaves the database. | |
| confirm | No | Required for destructive operations. Without it a destructive call returns its plan and refuses, exactly as dry_run would. | |
| dry_run | No | Return the plan without applying it: the resources it would create, change or destroy, and an estimated monthly cost. Free, and has no side effects. Call this before any change you have not made before. | |
| language | No | Text search configuration for the keyword half of search. simple matches words exactly and suits mixed-language data; a language stems words, so "invoices" finds "invoice". | simple |
| productId | Yes | Product identifier, e.g. prd_7k2m9x4qw1nv8bz3ct6d. | |
| databaseId | Yes | Database identifier, from product_get or database_get. | |
| idempotency_key | No | Replaying the same key returns the original result instead of acting twice. Strongly recommended for anything that creates a resource or spends money. |