You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Give current card context in tool response & input
* Create V2 of Metabase SQL Editor State
* Add toggle to flip state processing to V2
* Fix EditQuery action
* Add SetQueryParameterValues tool
* Execute query upon setting parameter values
description: `Executes the SQL query in the metabase SQL editor. This also sets the "queryExecuted" state to true after execution.
82
82
`,
83
83
},
84
+
{
85
+
name: 'setQueryParameterValues',
86
+
args: {
87
+
parameterValues: {
88
+
type: 'array',
89
+
items: {
90
+
type: 'object',
91
+
properties: {
92
+
id: {
93
+
type: 'string',
94
+
description: "The id of the parameter to set the value for."
95
+
},
96
+
value: {
97
+
type: 'array',
98
+
items: {
99
+
type: 'string'
100
+
},
101
+
description: "The value to set for the parameter."
102
+
}
103
+
}
104
+
},
105
+
description: "The parameters to set in the SQL editor."
106
+
}
107
+
},
108
+
description: "Sets the values of the parameters in the SQL editor. This is useful for setting the values of variables in the SQL query. The parameterValues should be an array of objects, each containing the id of the parameter and the value to set.",
0 commit comments