Write Query
write_queryRun DDL/DML and other StarRocks commands without result sets, such as creating tables or modifying data. Specify a database or use set_session_db to set a session default before executing SQL.
Instructions
Execute a DDL/DML or other StarRocks command that do not have a ResultSet. Use set_session_db to set a per-session default database
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": {
"query": "<query>"
},
"name": "write_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db | No | database | |
| query | Yes | SQL to execute |