OptionalallowIf true, user can modify the original tool arguments before submitting. The modified args are returned in the feedback.
OptionalcancelFor confirm type: custom label for the reject button.
OptionalconfirmFor confirm type: custom label for the approve button.
OptionalcustomFor custom inputType: application-defined JSON schema for the input.
OptionaldefaultOptional default value to pre-fill.
OptionalhintOptional hint text shown below the input.
The type of input expected from the user.
OptionaloptionsFor select/multiselect: available options to choose from.
OptionalplaceholderPlaceholder text for text/number inputs.
Human-readable prompt shown to the user. This should clearly explain what input is needed and why.
OptionalsensitiveWhether this is a sensitive input (e.g., password, API key). UI should mask the input if true.
OptionaltitleOptional title for the feedback dialog/section.
OptionalvalidationValidation constraints for the input.
Schema for what kind of feedback a blocking tool expects.
Remarks
Tools declare this schema to inform the UI layer what input to collect. The framework uses this to validate feedback and construct the tool result.
Example
Example
Example