Resolve a Homey flow card argument
homey_flowcard_autocompleteFetches selectable choices for a Homey flow card's device or autocomplete argument, returning the chosen object to set as the value.
Instructions
Asks the Homey what a device-typed or autocomplete-typed argument can be set to, and returns the choices. Store the WHOLE object of the chosen result as the argument value. Cards keep app-specific fields next to the id and the name, for example a Google Cast action stores the host and description alongside them, and rebuilding the object by hand loses those and breaks the card.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Arguments already chosen on this card. Some choices depend on an earlier one, for example a playlist depends on the speaker. | |
| kind | No | Which meaning of the card id you want, for the few ids that name a card of more than one kind. Only needed when the tool asks for it. | |
| limit | No | Maximum number of choices to return. Defaults to 25. | |
| query | No | What to search for. An empty string lists everything the argument accepts. | |
| cardId | Yes | The full card id from homey_flowcards_search or homey_flowcard_describe, for example homey:app:com.google.cast:tts. | |
| argument | Yes | The name of the argument to resolve, taken from the arguments list on homey_flowcard_describe or homey_flowcards_search. |