add_record
Insert a new record into a table, creating the table with default columns if it does not already exist.
Instructions
Add a new record to the specified table in the database. If the table doesn't exist, it will be created with columns: id, title, content, and created_at.
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": {
"db_path": "<db_path>",
"table_name": "<table_name>",
"title": "<title>",
"content": "<content>"
},
"name": "add_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db_path | Yes | ||
| table_name | Yes | ||
| title | Yes | ||
| content | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |