execute_parameterized_sql
Run preconfigured parameterized SQL operations on DatI services to perform business database tasks safely, including data changes, with parameter binding and row-level permission guards.
Instructions
Execute a pre-configured parameterized SQL tool published on the DatI MCP gateway.
Behavior: - May mutate data depending on the configured SQL template (INSERT/UPDATE/DELETE). - Safe execution: Protected by DatI row-level permission guards and SQL parameter binding. Usage Guidelines: - Use this tool when you need to run specific business database operations. - Prerequisite: Use search_metadata first if you are unsure of the service or parameters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | JSON-encoded string containing parameter key-value pairs matching the tool template variables. | {} |
| tool_name | Yes | The specific pre-configured parameterized SQL tool name to run (e.g. 'add_transaction'). | |
| service_code | Yes | The unique code of the published MCP service in DatI (e.g. 'family-finance'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |