execute_insert
execute_insertFull Description
⚠️ STOP: Have you called getInstructions(driverName) for this connection yet? → NO: Call getInstructions(driverName) FIRST, then return here → YES: Proceed with this tool.
Execute a SQL INSERT statement against the data source.
Only INSERT statements are allowed. SELECT, UPDATE, DELETE, and stored-procedure execution are rejected; use queryData, execute_update, or executeProcedure for those.
SQL Dialect & Syntax:
- Based on SQL-92 standard
- Quote identifiers (table/column names) using '[]' characters
- Use fully qualified table references: [Catalog].[Schema].[Table]
Parameters (1 required, 3 optional)
querystringThe SQL INSERT statement to execute. Must use fully qualified table references in the format [Catalog].[Schema].[Table].
llmContextobjectOptional context about the calling LLM. Please provide your provider, model name, and reason for calling this tool if known.
parametersobjectA JSON object containing query parameter names and their values. All parameter names must begin with @. Use this to prevent SQL Injection. DO NOT build values inline.
parameterTypesobjectA JSON object containing query parameter names and their value types. Default type is VARCHAR if not specified.