You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The value of the argument metadata parameter should be valid json with these fields:
8
+
The value of the argument metadata parameter should be valid json with these fields:
9
9
| Field | Description | Required | App Version |
10
10
| ----- | ----------- | -------- | ----------- |
11
-
| type |Input type. For now only "text" value available. | ✅ | 1.2.0+ |
11
+
| type |The argument type. We currently support `"text"`, `"password"` (for secure entry), and `"dropdown"`. When the type is `password`, entered text will be replaced with asterisks. Most common use case – passing passwords or secrets to commands. | ✅ | 1.64.0+ |
12
12
| placeholder | Placeholder for the input field. | ✅ | 1.2.0+ |
13
-
| optional | Set to `true` if you want to mark the argument as optional. When not provided, the argument is considered to be required (Raycast will not allow to execute the script if the argument input is empty) || 1.3.0+ |
14
-
| percentEncoded | Set to `true` if you want Raycast to perform percent encoding on the argument value before passing it to the script. Can be handy for scripts that pass the argument directly to URL query || 1.4.0+ |
15
-
| secure | When set to `true` entered text will be replaced with asterisks and won't be recorded by history. Most common use case – passing passwords or secrets to scripts. || 1.18.0+ |
13
+
| optional | Set to `true` if you want to mark the argument as optional. When not provided, the argument is considered to be required (Raycast will not allow executing the script if the argument input is empty) || 1.3.0+ |
14
+
| percentEncoded | Set to `true` if you want Raycast to perform percent-encoding on the argument value before passing it to the script. Can be handy for scripts that pass the argument directly to URL query || 1.4.0+ |
15
+
| data | An array of objects with `title` and `value` properties, e.g.: `[{"title": "Item 1", "value": "1"}]| ✅ when `type`is`dropdown`. |
16
+
|~~secure~~| Deprecated in favor of `"type" = "password"`|| 1.18.0+ |
16
17
17
18
💡 **Maximum number of arguments:** 3 (if you have a use case that requires more, please let us know via feedback or in the [Slack community](https://www.raycast.com/community))
0 commit comments