create_queries
Creates multiple Appsmith queries bound to datasources in a single API call. Accepts an array of query definitions with optional default configurations for REST, SQL, or Mongo plugins.
Instructions
Create multiple queries bound to datasources in one tool call via Appsmith's REST
API. Each entry is {"name", "datasource_id", "action_config"?, "page_id"?}. If
action_config is omitted, a per-plugin default is used: REST → GET / with empty
headers/params; SQL DBs → SELECT 1;; Mongo → FIND with {} and limit 10. page_id
defaults to the currently open page. The Redux action list is refetched once at the
end.
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": {
"queries": "<queries>"
},
"name": "create_queries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| queries | Yes |