confirm_parameter_input
Confirms and stores parameter values after user validation, with optional automatic rule updates.
Instructions
Confirm and store parameter input after user validation.
CONFIRMATION PROCESSING (Enhanced with Automatic Rule Updates):
Handles final confirmation of parameter values
Stores confirmed values in memory
Supports both default value confirmation and final value confirmation
MANDATORY step before proceeding to next input
NEW: Automatically updates rule with parameter if rule_name provided
CONFIRMATION TYPES (Preserved):
"default": User confirmed they want to use default value
"final": User confirmed their entered value is correct
Both types require explicit user confirmation
STORAGE RULES (Enhanced):
Store all confirmed values in memory (never upload files)
Only store after explicit user confirmation
Include metadata about confirmation type and timestamp
NEW: Automatic rule update with parameter data
AUTOMATIC RULE UPDATE PROCESS: If rule_name is provided, this tool automatically:
Fetches the current rule structure
Adds the parameter to spec.inputs
Updates spec.inputsMeta__ with parameter metadata
Calls create_rule() to save the updated rule
Rule status will be auto-detected based on completion
Args: task_name: Name of the task this input belongs to input_name: Name of the input parameter rule_input_name: Must be one of the values defined in the rule structure's inputs confirmed_value: The value user confirmed explanation: Add explanation only if dataType is JQ_EXPRESSION or SQL_EXPRESSION. This field provides details about the confirmed_value. confirmation_type: Type of confirmation ("default" or "final") rule_name: Optional rule name for automatic rule updates
Returns: Dict containing stored value confirmation and rule update status
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_name | Yes | ||
| input_name | Yes | ||
| rule_input_name | Yes | ||
| confirmed_value | Yes | ||
| explaination | Yes | ||
| confirmation_type | No | final | |
| rule_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||