add_parameter
Adds a parameter to a QuickSight analysis for dynamic filtering; automatically backs up the definition before changes.
Instructions
Add a parameter to a QuickSight analysis.
WARNING: This modifies the analysis definition. A backup is automatically created before making changes.
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": {
"analysis_id": "<analysis_id>",
"parameter_definition": "<parameter_definition>"
},
"name": "add_parameter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| analysis_id | Yes | The QuickSight analysis ID. | |
| parameter_definition | Yes | JSON string of the parameter declaration. Must contain one of: StringParameterDeclaration, IntegerParameterDeclaration, DecimalParameterDeclaration, or DateTimeParameterDeclaration. Example for a string parameter: {"StringParameterDeclaration": { "ParameterValueType": "SINGLE_VALUED", "Name": "market", "DefaultValues": {"StaticValues": ["All"]}, "ValueWhenUnset": {"ValueWhenUnsetOption": "RECOMMENDED_VALUE"} }} |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||