verify_collected_inputs
Verify collected compliance inputs by displaying templates and parameters for user confirmation, then automatically finalize rule creation with I/O mapping.
Instructions
Verify all collected inputs with user before rule creation.
MANDATORY VERIFICATION STEP (Enhanced):
This tool MUST be called after all inputs are collected but before final rule completion. It presents a comprehensive summary of all collected inputs for user verification.
ENHANCED WITH AUTOMATIC RULE FINALIZATION: After user confirms verification, this tool can automatically finalize the rule by:
Building complete I/O mapping based on task sequence and inputs
Adding mandatory compliance outputs
Setting rule status to ACTIVE
Completing the rule creation process
HANDLES DUPLICATE INPUT NAMES WITH TASK ALIASES (Preserved):
Uses unique identifiers (TaskAlias.InputName) for each input
Properly maps each unique input to its specific task alias
Creates structured inputs for rule creation with unique names when needed
Maintains clear separation between inputs from different task instances
VERIFICATION REQUIREMENTS (Preserved):
Show complete summary of ALL collected inputs with unique IDs
Display both template files and parameter values
Show file URLs for uploaded templates
Present clear verification checklist
Get explicit user confirmation
Allow user to modify values if needed
Prepare inputs for rule structure creation with proper task alias mapping
NEW: Automatically finalize rule after user confirmation
VERIFICATION PRESENTATION FORMAT (Preserved): "INPUT VERIFICATION SUMMARY:
Please review all collected inputs before rule creation:
TEMPLATE INPUTS (Uploaded Files): ✓ Task Input: [TaskAlias.InputName] Task: [TaskAlias] ([TaskName]) → Input: [InputName] Format: [Format] File: [filename] URL: [file_url] Size: [file_size] bytes Status: ✓ Validated
PARAMETER INPUTS (Values): ✓ Task Input: [TaskAlias.InputName] Task: [TaskAlias] ([TaskName]) → Input: [InputName] Type: [DataType] Value: [user_value] Required: [Yes/No] Status: ✓ Set
VERIFICATION CHECKLIST: □ All required inputs collected □ Template files uploaded and validated □ Parameter values set and confirmed □ No missing or invalid inputs □ Ready for rule creation
Are all these inputs correct?
Type 'yes' to proceed with rule creation
Type 'modify [TaskAlias.InputName]' to change a specific input
Type 'cancel' to abort rule creation"
CRITICAL VERIFICATION RULES (Enhanced):
NEVER proceed to final rule creation without user verification
ALWAYS show complete input summary with unique identifiers
ALWAYS get explicit user confirmation
Allow input modifications using unique IDs
Validate completeness before approval
Prepare structured inputs for rule creation with proper task mapping
NEW: Automatically finalize rule with I/O mapping after confirmation
Args: collected_inputs: Dict containing all collected template files and parameter values with unique IDs
Returns: Dict containing verification status, user confirmation, and structured inputs for rule finalization
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collected_inputs | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||