Execute SQL
executeModify SQLite data on an Android device by running INSERT, UPDATE, or DELETE statements. Pulls the database, applies changes locally, then pushes it back to the device.
Instructions
Execute an INSERT, UPDATE, or DELETE SQL statement. Pulls the database, modifies it locally, then pushes it back to the device.
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": {
"database": "<database>",
"sql": "<sql>"
},
"name": "execute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | SQL statement to execute (INSERT/UPDATE/DELETE) | |
| database | Yes | Database filename (e.g. app.db) |