insert_row
Insert a new row into a table by providing the table name and a dictionary of column-value pairs. Returns the inserted row with generated identity columns.
Instructions
Insert a new row into a table.
Args:
table: Table name (can include schema: 'dbo.Users' or 'Users')
data: Dictionary of column names and values to insert
Returns:
Dictionary with:
- status: 'success' or error
- table: Full table name
- inserted: The inserted row (including generated identity columns)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| table | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||