Tweak a pull
tweakModify a past pull's stored SQL and rerun it on the same source; the result shows the SQL difference and saves the new pull as a child of the original.
Instructions
Tweak a past pull ('same, but last quarter'): run sql, your change to that pull's stored SQL, on the same source. The reply shows the SQL difference; the new pull is saved as a child of the old one. question is the user's request (defaults to the old). When no definition you were given covers part of the question, say what you assumed in assumptions, one short sentence each ("active customer means an order in the last 90 days"); they're kept with this answer on the user's computer, for them to review and turn into definitions.
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": {
"pull_id": "<pull_id>",
"sql": "<sql>"
},
"name": "tweak"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | ||
| pull_id | Yes | ||
| question | No | ||
| assumptions | No |