cdp_generate_squery_def
Generate input/output arguments for SQueryDef from its expression to populate required fields in CDP data queries.
Instructions
Generate input/output arguments for a SQueryDef from its expression. Pass a SQueryDef JSON with an expression field. Returns the def with arguments and outputAttributes filled in.
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": {
"body": "<body>"
},
"name": "cdp_generate_squery_def"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| tenant_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |