Insert Row
sqlite_insert_rowInserts one row into a SQLite table, validates column names against the schema, and returns the stored row with any auto-assigned ID.
Instructions
Insert one row into a table and return the row as SQLite stored it.
Prefer this over hand-written INSERT SQL: column names are validated against the table, so typos come back as a clear error. Omit auto-increment primary keys and let SQLite assign them.
Example: {"table": "books", "values": {"title": "Dune", "author_id": 3, "price": 9.99}} -> the inserted row with its new id. Call sqlite_describe_table first when you are unsure of column names.
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>",
"values": "<values>"
},
"name": "sqlite_insert_row"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table to insert into | |
| values | Yes | Column values keyed by column name, e.g. {"title": "Dune", "price": 9.99} |