Introduction to instructions
Instructions are tasks issued to a device through multi-modal interaction for execution, such as turning on a desk lamp or increasing the volume.
The multi-modal interaction development suite provides a series of system instructions. You can simply select the instructions you need. The selected instructions are then automatically enabled in conversations and issued to the device.

To modify issued instructions, adjust them on the Settings page.

To provide a model reply when an instruction is issued, select a reply mode on the Settings page:
-
Reply based on execution status (default): After an instruction is issued, the system waits for a success or failure message from the device. The model then generates a corresponding reply, such as "The air conditioner is set to 26 degrees" or "The volume is already at its maximum and cannot be increased further."
-
Auto-reply: An automatic reply is sent simultaneously with the instruction.

If you need custom instructions, such as "Open Xiaoyun Radio", use the custom instruction feature. You can configure the issued instruction. By default, it is the same as the instruction name, but you can modify it manually.
Instruction list
Multi-modal interaction application instructions
System instructions
Brightness settings
|
Instruction name |
Instruction description |
Instruction example |
Parameter name |
Parameter description |
Parameter example |
|
increase_brightness |
Increase brightness |
Increase brightness by 10 |
number |
Brightness value |
Increase brightness by 10|number=10 |
|
to |
to, up to, set to, ... |
Increase brightness to 10|to=to |
|||
|
increase_brightness_default |
Increase brightness by default |
Increase the brightness a bit |
|||
|
decrease_brightness |
Decrease brightness |
Decrease brightness by 10 |
number |
Brightness value |
Decrease brightness by 10|number=10 |
|
to |
to, up to, set to, ... |
Decrease brightness to 10|to=to |
|||
|
decrease_brightness_default |
Decrease brightness by default |
Decrease the brightness a bit |
|||
|
set_brightness |
Set brightness |
Set brightness to 50 |
number |
Brightness value |
Set brightness to 50|number=50 |
|
to |
to, up to, set to, ... |
Set brightness to 50|to=to |
Volume settings
|
Instruction name |
Instruction description |
Instruction example |
Parameter name |
Parameter description |
Parameter example |
|
increase_volume |
Increase volume |
Increase volume by 10 |
number |
Volume value |
Increase volume by 10|number=10 |
|
to |
to, up to, set to, ... |
Increase volume to 10|to=to |
|||
|
for |
Volume category, including the following: System, Media, Call |
Increase media volume to 30|for=Media |
|||
|
increase_volume_default |
Increase volume by default |
Increase the volume a bit |
|||
|
decrease_volume |
Decrease volume |
Decrease volume by 10 |
number |
Volume value |
Decrease volume by 10|number=10 |
|
to |
to, up to, set to, ... |
Decrease volume to 10|to=to |
|||
|
for |
Volume category, including the following: System, Media, Call |
Decrease system volume to 30|for=System |
|||
|
decrease_volume_default |
Decrease volume by default |
Decrease the volume a bit |
|||
|
set_volume |
Adjust volume |
Set volume to 50 |
number |
Volume value |
Set volume to 50|number=50 |
|
to |
to, up to, set to, ... |
Set volume to 50|to=to |
|||
|
for |
Volume category, including the following: System, Media, Call |
Set call volume to 30|for=Call |
|||
|
mute |
Mute |
Mute |
|||
|
unmute |
Unmute |
Unmute |
Device control
|
Instruction name |
Instruction description |
Instruction example |
Parameter name |
Parameter description |
Parameter example |
|
shutdown |
Shut down |
Shut down, turn off the computer |
|||
|
quit |
Exit |
Exit, talk later, end session, exit voice assistant |
|||
|
back |
Back |
Go back to the previous level |
|||
|
confirm |
Confirm |
OK |
record |
Whether to record |
Confirm and record|record=True |
|
cancel |
Cancel |
Not necessary |
|||
|
select |
Select |
Select the second one |
index |
Serial number |
Select the second one|index=2 |
|
check_battery |
Check battery |
How much battery is left? |
Screen control
|
Instruction name |
Instruction description |
Instruction example |
Parameter name |
Parameter description |
Parameter example |
|
screen_off |
Turn off screen/Standby mode |
Turn off the screen, enter standby mode |
|||
|
screen_shot |
Take a screenshot |
Take a screenshot for me |
|||
|
screen_recording |
Record screen |
Record the screen for me |
|||
|
stop_screen_recording |
Stop screen recording |
Stop screen recording |
Multimedia control
|
Instruction name |
Instruction description |
Instruction example |
Parameter name |
Parameter description |
Parameter example |
|
play |
Play (excluding music) |
Play podcast, play movie |
|||
|
start_over |
Play from the beginning |
Play again from the beginning |
|||
|
stop |
Pause |
Pause playback |
|||
|
resume_play |
Resume playback |
Resume playback |
|||
|
next |
Next |
Next song |
unit |
Unit |
Next song|unit=song |
|
previous |
Previous |
Previous song |
unit |
Unit |
Previous song|unit=song |
|
change |
Change |
Change song |
unit |
Unit |
Change song|unit=song |
Application switch
|
Instruction name |
Instruction description |
Instruction example |
Parameter name |
Parameter description |
Parameter example |
|
open_notification |
Open notifications |
Open notifications |
|||
|
exit_notification |
Close notifications |
Close notifications |
|||
|
clean_notification |
Clear notifications |
Clear all notifications |
|||
|
open_photos |
Open Photos |
Open Photos |
|||
|
quit_photos |
Exit Photos |
Exit Photos |
|||
|
open_player |
Open Multimedia (Bluetooth audio playback control) |
Open Multimedia |
|||
|
quit_player |
Exit Multimedia |
Exit Multimedia |
|||
|
open_app_center |
Open App Center |
Open App Center |
|||
|
quit_app_center |
Exit App Center |
Exit App Center |
|||
|
open_Prompter |
Open Prompter |
Open Prompter |
|||
|
quit_Prompter |
Exit Prompter |
Exit Prompter |
|||
|
open_app |
Open a third-party application |
Open WeChat |
app_name |
Application name, such as: Weibo, NetEase News, Xiaohongshu, Lark, DingTalk; |
Open WeChat|app_name=WeChat |
|
quit_app |
Exit a third-party application |
Exit WeChat |
app_name |
Application name |
Exit WeChat|app_name=WeChat |
|
open_setting |
Open Settings |
Open Settings |
type |
Settings type, such as: System, General, Display, Volume, Application, Device Connection, Privacy Policy; |
Open General Settings|type=General |
|
quit_setting |
Exit Settings |
Exit Settings |
type |
Settings type |
Exit General Settings|type=General |
|
open_system_update |
Open System Update |
Open the system update page |
|||
|
quit_system_update |
Exit System Update |
Close the system update page |
|||
|
open_dnd_mode |
Turn on Do Not Disturb mode |
Turn on Do Not Disturb mode |
|||
|
quit_dnd_mode |
Turn off Do Not Disturb mode |
Turn off Do Not Disturb mode |
|||
|
open_auto_brightness |
Turn on auto-brightness |
Turn on light-sensing mode |
|||
|
quit_auto_brightness |
Turn off auto-brightness |
Turn off auto-brightness |
|||
|
open_vr_calibration |
Open VR calibration |
Open the VR calibration page |
|||
|
quit_vr_calibration |
Exit VR calibration |
Close the VR calibration page |
Music
|
Instruction name |
Instruction description |
Instruction example |
Parameter name |
Parameter description |
Parameter example |
|
play_music |
Play music |
Play a song |
song |
Song name |
I want to listen to Ten Years|song=Ten Years |
|
artist |
Artist |
I want to listen to a song by Jay Chou|artist=Jay Chou |
|||
|
album |
Album |
I want to listen to the album The Eight Dimensions|album=The Eight Dimensions |
|||
|
style |
Style/Genre |
I want to listen to rock music|style=rock |
|||
|
language |
Dialect/Language |
I want to listen to a Cantonese song|language=Cantonese |
|||
|
general_tag |
Scenario/Tag |
I want to listen to a relaxing song|general_tag=relaxing |
|||
|
era |
Era |
Play a song from the 80s|era=80s |
|||
|
sort |
Sort, including the following: Latest, Hottest |
Play the latest song|sort=Latest |
|||
|
music_type |
Music type, including the following: Song, Album, Playlist |
I want to listen to an album by Andy Lau|music_type=Album |
|||
|
media_name |
Playback platform |
Play a song from Xiami Music|media_name=Xiami Music |
|||
|
play_daily_playlist |
Play daily recommended playlist |
Play daily recommended playlist |
|||
|
play_my_collection |
Play my favorite playlist |
Play my favorite playlist |
|||
|
play_randomly |
Recommended for you |
Play some random songs |
|||
|
like |
Like/Add to favorites |
Like this song |
|||
|
unlike |
Dislike/Remove from favorites |
Dislike this song |
Photo and video
|
Instruction name |
Instruction description |
Instruction example |
Parameter name |
Parameter description |
Parameter example |
|
take_photo |
Take a photo |
Take a photo |
|||
|
quick_burst |
Burst shot |
Take a burst of three photos |
number |
Number of photos |
Take a burst of three photos|number=3 |
|
open_camera |
Open camera |
Open camera |
|||
|
quit_camera |
Exit camera |
Exit camera |
|||
|
open_photo_mode |
Open photo mode |
Open photo mode |
|||
|
quit_photo_mode |
Exit photo mode |
Close photo mode |
|||
|
open_camera_preview |
Open camera preview mode |
Open camera preview mode |
|||
|
quit_camera_preview |
Close camera preview mode |
Close camera preview mode |
|||
|
video_recording |
Record video |
Record a video |
|||
|
open_video_mode |
Open camera mode |
Enter Photo mode |
|||
|
quit_video_mode |
Exit photography mode |
Disable Photography Mode |
Making calls
|
Instruction name |
Instruction description |
Instruction example |
Parameter name |
Parameter description |
Parameter example |
|
call |
Make a call |
Make a call |
contact_name |
Contact name |
Call Xiaoming|contact_name=Xiaoming |
|
phone_number |
Phone number |
Dial 10086|phone_number=10086 |
|||
|
phone_type |
Phone type |
Call Xiaoming's work phone|phone_type=Work |
|||
|
phone_entity |
Phone entity |
Call the fire department|phone_entity=Fire department |
|||
|
record |
Whether to record |
Call and record|record=True |
|||
|
confirm |
Confirm |
OK |
record |
Whether to record |
Confirm and record|record=True |
|
cancel |
Cancel |
No, thanks |
|||
|
open_call |
Open Phone |
Open the Phone application |
|||
|
quit_call |
End Call |
Exit the Phone application |
|||
|
answer_call |
Answer call |
Answer the call |
contact_name |
Contact name |
Answer Xiaoming's call|contact_name=Xiaoming |
|
record |
Whether to record |
Answer and record|record=True |
|||
|
reject_phone |
Reject call |
Don't answer |
|||
|
update_contacts |
Update address book |
Update address book |
Audio recording
|
Instruction name |
Instruction description |
Instruction example |
Parameter name |
Parameter description |
Parameter example |
|
audio_recording |
Record audio |
Start recording |
audio_type |
Audio type, including the following: Internal, External, Call |
Record Bluetooth music|audio_type=Internal Start live recording|audio_type=External Start call recording|audio_type=Call |
|
quit_audio_recording |
Exit audio recording |
Close the recording application |
|||
|
stop_audio_recording |
Stop audio recording |
Pause recording |
Custom instructions
In addition to the system instructions, you can use custom instructions to implement more control skills.

The structure of custom instructions is the same as system instructions. You can create multiple instructions for each instruction type.
Each instruction includes an instruction name, description, and example. If parameters are required, you can also add a parameter name, description, and example.
-
Instruction name: Use English for the name. This name is used to issue the corresponding instruction.
-
Instruction description: Explains the purpose of the instruction.
-
Instruction example: Provide multiple sample utterances to improve the model's accuracy in issuing the instruction.
-
Parameters: You can set multiple parameters, such as specific adjustment values. Providing examples helps the model understand the meaning of the parameters and issue them more accurately.
For example, to set a group of instructions to adjust the brightness of a desk lamp:
-
Create an instruction type named "Desk lamp brightness control".
-
Create an instruction named "brightness_increase" to issue an instruction to increase brightness. You can enter sample utterances that trigger this instruction for model training, such as "Make the desk lamp brighter" and "Increase desk lamp brightness by 20".
-
To issue specific parameters, add them with a name, description, and example. For example, set a parameter "to" to specify the value to which the desk lamp brightness is increased. Provide a parameter example, such as "Increase brightness to 20, to=20".
You can create multiple instructions for each instruction type. Each instruction can have multiple parameters or no parameters.

After creating an instruction, check it in the custom instruction list and confirm it. The instruction is then automatically enabled in the current application.

To test if the instruction is effective, click Run Now below to start testing.
You can also configure more detailed custom instructions:
-
Set parameter types such as string, number, boolean, date, enum, and time.
-
number: Set a specific numerical range. For example, you can set the "air conditioner temperature" to 18-30. If a user's instruction contains a parameter outside this range, the model asks for clarification.
-
enum: Set a limited list of enumeration values. If a user's instruction contains a parameter outside this list, the model asks for clarification.
-
-
Set as required. If a required parameter is empty, the model asks for clarification.
-
Instruction examples support different parameter values to help the model understand them more accurately.

Interactive voice response application instructions
System instructions
Making calls
|
Instruction name |
Instruction description |
Instruction example |
Parameter name |
Description |
Parameter description |
Required |
|
MAKE_A_PHONE_CALL_phone_call |
Make a phone call |
Dial 10086 Call the fire department Call Xiaoming's work phone |
phone_num |
String |
Phone number |
No |
|
contact_name |
String |
Contact |
No |
|||
|
CANCEL_phone_call |
Cancel call |
No, thanks |
||||
|
CREATE_contacts |
Create a contact |
Create a contact, Xiaowang, 12345678901 |
phone_num |
String |
Phone number |
Yes |
|
contact_name |
String |
Contact name |
Yes |
|||
|
ANSWER_phone_call |
Answer call |
Answer the call |
||||
|
REJECT_phone_call |
Reject call |
Don't answer |
||||
|
UPDATE_contacts |
Update address book |
Update Xiaowang's phone number to 12345678901 |
contact_name |
String |
The contact to update |
Yes |
|
update_name |
String |
If updating the contact name, the new name |
No |
|||
|
update_phone |
String |
If updating the contact phone number, the new phone number |
No |
Setting alarms
|
Instruction name |
Instruction description |
Instruction example |
Parameter name |
Parameters |
Parameter description |
Required |
|
SET_clock |
Set an alarm |
Set an alarm for 6 AM tomorrow Remind me to attend the meeting at 3:30 PM every Friday |
time |
String |
Time to set |
Yes |
|
date |
String |
Date to set. Standard format: YYYY-MM-DD |
No |
|||
|
content |
String |
Alarm content or label, such as the purpose of the alarm |
No |
|||
|
repeat |
String |
Repeat schedule. For example: daily/workdays/Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday. The default is no repeat. |
No |
Brightness settings
|
Instruction name |
Instruction description |
Instruction example |
Parameter name |
Parameter description |
Parameter description |
Required |
|
CHANGE_brightness |
Adjust the brightness to a specific value |
Set brightness to 50 |
value |
Integer |
Brightness value |
No |
|
level |
Integer |
In non-continuous mode, the brightness level to set, such as Level 1 or Level 5 |
No |
|||
|
mode |
String |
Brightness mode, such as: Auto/Normal/Night/Reading/Game/Movie |
No |
|||
|
INCREASE_brightness |
Increase the brightness of the screen or lighting device. Supports adjustment by a specific value or preset level. |
Increase brightness by 10 |
number |
Integer |
Brightness value |
No |
|
to |
Integer |
to, up to, set to, ... |
No |
|||
|
level |
Integer |
In non-continuous mode, the level to increase brightness by |
No |
|||
|
DECREASE_brightness |
Decrease the brightness of the screen or lighting device. Supports adjustment by a specific value or preset level. |
Decrease brightness by 10 |
number |
Integer |
Brightness value |
No |
|
to |
Integer |
to, up to, set to, ... |
No |
|||
|
level |
Integer |
In non-continuous mode, the level to decrease brightness by |
No |
|||
|
INCREASE_DEFAULT_brightness |
Increase brightness by default (when no specific value is provided) |
Increase the brightness a bit |
||||
|
DECREASE_DEFAULT_brightness |
Decrease brightness by default (when no specific value is provided) |
Decrease the brightness a bit |
Color temperature settings
|
Instruction name |
Instruction description |
Instruction example |
Parameter name |
Parameters |
Parameter description |
Required |
|
CHANGE_color_temperature |
Adjust the color temperature to a specific value |
Set color temperature to 20 |
amount |
Integer |
The specific value to increase or decrease the color temperature |
Yes |
|
INCREASE_color_temperature |
Increase the color temperature of the screen or display (make it cooler). Supports setting the adjustment amount, or no specific value. |
Increase color temperature by 20 |
amount |
Integer |
The specific value to increase the color temperature |
No |
|
to |
Integer |
to, up to, set to, ... |
No |
|||
|
DECREASE_color_temperature |
Decrease the color temperature of the screen or display (make it warmer). Supports setting the adjustment amount, or no specific value. |
Decrease color temperature by 20 |
amount |
Integer |
The specific value to decrease the color temperature |
No |
|
to |
Integer |
to, up to, set to, ... |
No |
Volume settings
|
Instruction name |
Instruction description |
Instruction example |
Parameter name |
Parameter type |
Parameter description |
Required |
|
CHANGE_volume |
Adjust the volume to a specific value |
Set volume to 50 |
amount |
Integer |
The specific value to increase the volume |
Yes |
|
PLUS_volume |
Increase the volume. Supports adjustment by a specific value. |
Increase volume by 10 |
amount |
Integer |
The specific value to increase the volume |
No |
|
to |
Integer |
to, up to, set to, ... |
No |
|||
|
MINUS_volume |
Decrease the volume. Supports adjustment by a specific value. |
Decrease volume by 10 |
amount |
Integer |
The specific value to decrease the volume |
No |
|
to |
Integer |
to, up to, set to, ... |
No |
|||
|
INCREASE_DEFAULT_volume |
Increase volume by default (when no specific value is provided) |
Increase the volume a bit |
||||
|
DECREASE_DEFAULT_volume |
Decrease volume by default (when no specific value is provided) |
Decrease the volume a bit |
||||
|
MUTE_volume |
Mute |
Mute |
||||
|
UNMUTE_volume |
Unmute |
Unmute |
Bluetooth
|
Instruction name |
Instruction description |
Instruction example |
Parameter name |
Parameter Description |
Parameter description |
Required |
|
DEVICE_LIST_bluetooth |
List all paired Bluetooth devices |
Open Bluetooth list |
||||
|
SCAN_bluetooth |
Search for nearby pairable Bluetooth devices |
Search for Bluetooth |
||||
|
TURN_OFF_bluetooth |
Turn off Bluetooth |
Turn off Bluetooth |
||||
|
TURN_ON_bluetooth |
Turn on Bluetooth |
Turn on Bluetooth |
Application switch
|
Instruction name |
Instruction description |
Instruction example |
Parameter name |
Parameter Description |
Parameter description |
Required |
|
OPEN_device |
Turn on or start a device |
Turn on the headphones |
device |
String |
Device name. Defaults to the current device. |
Yes |
|
LAUNCH_app |
Launch an application |
Open Podcast Open Podcast and start playing |
name |
String |
Application name. Defaults to the current application. Examples: Photos, App Center, App Store, Weibo, NetEase News, Xiaohongshu, Lark, DingTalk, Bilibili, Douyin, Ximalaya, Youku, Tencent Video, iQIYI, Mango TV, WeChat |
Yes |
|
intent |
String |
The intent or next action after opening the application |
No |
|||
|
CLOSE_device_or_app |
Shut down or exit a device or application |
Shut down headphones Exit Podcast |
device |
String |
Device name. Defaults to the current device. |
No |
|
app |
String |
Application name. Defaults to the current application. Examples: Photos, App Center, App Store, Weibo, NetEase News, Xiaohongshu, Lark, DingTalk, Bilibili, Douyin, Ximalaya, Youku, Tencent Video, iQIYI, Mango TV, WeChat |
No |
|||
|
RESTART_device |
Restart device |
Restart glasses |
device |
String |
Device name. Defaults to the current device. |
No |
|
SHUTDOWN_assistant |
Shut down the smart assistant service |
Exit voice assistant |
||||
|
OPEN_notification |
Open notifications |
Open notifications |
||||
|
EXIT_notification |
Close notifications |
Close notifications |
||||
|
CLEAN_notification |
Clear notifications |
Clear all notifications |
||||
|
OPEN_setting |
Open Settings |
Open Settings |
type |
String |
Settings type, including the following: System, General, Display, Volume, Application, Device Connection, Privacy Policy; |
No |
|
EXIT_setting |
Exit Settings |
Exit Settings |
Device control
|
Instruction name |
Instruction description |
Instruction example |
Parameter name |
Parameters |
Parameter description |
Required |
|
BACK |
Back |
Go back to the previous level |
||||
|
CONFIRM |
Confirm |
OK |
||||
|
CANCEL |
Cancel |
No, thank you. |
||||
|
SELECT |
Select |
Select the second one |
index |
Integer |
Serial number |
No |
|
CHECK_battery |
Check battery |
How much battery is left? |
Music playback
|
Instruction name |
Instruction description |
Instruction example |
Parameter name |
Parameters |
Parameter description |
Required |
|
PLAY_music |
Play music |
Play a song, Blue and White Porcelain Play an instrumental song Open Xiami Music and play Blue and White Porcelain |
song |
String |
Song name |
No |
|
artist |
String |
Artist |
No |
|||
|
album |
String |
Album |
No |
|||
|
type |
String |
Music type, such as: electron, pop, rock, lyrical, country, jazz, instrumental |
No |
|||
|
style |
String |
Style/Genre |
No |
|||
|
language |
String |
Dialect/Language |
No |
|||
|
general_tag |
String |
Scenario/Tag |
No |
|||
|
era |
String |
Era |
No |
|||
|
sort |
String |
Sort, including the following: Latest, Hottest |
No |
|||
|
mode |
String |
Playback mode, such as: Single loop, List loop, Shuffle, Heartbeat mode |
No |
|||
|
player |
String |
The application or device that plays music |
No |
|||
|
PLAY_DAILYLIST_music |
Play daily recommended playlist |
Play daily recommended playlist |
||||
|
PLAY_COLLECTION_music |
Play my favorite playlist |
Play my favorite playlist |
||||
|
PLAY_RANDOM_music |
Play random songs (Guess you like). Suitable for when the user has not specified any song information. |
Play some random songs |
||||
|
LIKE_music |
Like/Add to favorites |
Like this song |
||||
Video playback
|
Instruction name |
Instruction description |
Instruction example |
Parameter name |
Parameter description |
Parameter description |
Required |
|
PLAY_video |
Play video |
Play a movie starring Andy Lau Play a movie directed by Zhang Yimou Play a comedy Play the movie in 4K Play a movie about fashion Play a French movie Play an American movie Play a movie from the nineties Open Youku and play The Wandering Earth |
title |
String |
Video name |
No |
|
actor |
String |
Star/Main character |
No |
|||
|
director |
String |
Director/Author |
No |
|||
|
genre |
String |
Video type or movie genre |
No |
|||
|
theme |
String |
Subject |
No |
|||
|
language |
String |
Language |
No |
|||
|
region |
String |
Region |
No |
|||
|
year |
String |
Year |
No |
|||
|
resolution |
String |
Resolution, options: standard definition/high definition/ultra-high definition/4K |
No |
|||
|
player |
String |
The application or device that plays video |
No |
Multimedia control
|
Instruction name |
Instruction description |
Instruction example |
Parameter name |
Parameters |
Parameter description |
Required |
|
PREVIOUS_resource |
Play the previous multimedia resource (such as a song, audio, or video) |
Play the previous song Play the previous episode on Youku |
resource_type |
String |
The type of resource to switch to, such as: music, video, news, story, image |
No |
|
player |
String |
The application or device that plays multimedia content |
No |
|||
|
NEXT_resource |
Play the next multimedia resource (such as a song, audio, or video) |
Play the next song Play the next episode on Youku |
resource_type |
String |
The type of resource to switch to, such as: music, video, news, story, image |
No |
|
player |
String |
The application or device that plays multimedia content |
No |
|||
|
CHANGE_resource |
Change to a different multimedia resource (such as a song, audio, or video) |
Change the song Play a different movie on Youku |
resource_type |
String |
The type of resource to switch to, such as: music, video, news, story, image |
No |
|
player |
String |
The application or device that plays multimedia content |
No |
|||
|
REPLAY_resource |
Replay the current multimedia resource (such as a song, audio, or video) |
Replay Qilixiang Play the movie from the beginning Replay the Youku video from the beginning |
name |
String |
The name of the resource to replay |
No |
|
resource_type |
String |
The type of resource to replay, such as: music, video, news, story, image |
No |
|||
|
player |
String |
The application or device that plays multimedia content |
No |
|||
|
RESUME_operation_on_device |
Resume a paused or interrupted operation on a device, such as music/video playback or recording. |
Resume playback on headphones Resume music playback |
String |
The name of the device on which to resume the operation. Defaults to the current device if not specified. |
No |
|
|
operation_type |
String |
The type of operation to resume, such as music playback, video recording, or audio recording |
No |
|||
|
PAUSE_operation_on_device |
Pause the current operation on a device, such as music/video playback or recording. |
Pause the headphones Pause the music |
device_name |
String |
The name of the device on which to pause the operation. Defaults to the current device if not specified. |
No |
|
operation_type |
String |
The specific type of operation to pause, such as music playback, video recording, or audio recording |
No |
Photo and video
|
Instruction name |
Instruction description |
Instruction example |
Parameter name |
Parameter description |
Parameter description |
Required |
|
PHOTO_camera |
Take a photo |
Take a photo |
||||
|
Camera settings (supports mode switching, lens control, and basic parameter adjustments) |
Open night mode for photos Switch to the front camera Turn off the flash Set image resolution to 4k Turn on autofocus Set exposure compensation value to 1 Turn on auto white balance Turn off the gridlines Turn on High Dynamic Range imaging |
mode |
String |
Camera mode. Optional parameters: Photo/Video/Slow Motion/Time-lapse/Panorama/Night |
No |
|
|
lens_switch |
String |
Switch between front and rear lenses. Optional parameters: Front/Rear/External lens (if supported) |
No |
|||
|
flash_mode |
String |
Flash mode, such as: Auto/On/Off/Red-eye reduction |
No |
|||
|
resolution |
String |
Image resolution, such as: 1080p/4K/8K (depending on device support) |
No |
|||
|
focus_mode |
String |
Focus mode, such as: Auto/Manual/Continuous autofocus |
No |
|||
|
exposure_compensation |
Integer |
Exposure compensation value (EV) |
No |
|||
|
white_balance |
String |
White balance setting, such as: Auto/Daylight/Cloudy/Incandescent/Fluorescent |
No |
|||
|
grid_lines |
String |
Whether to show gridlines, such as: On/Off |
No |
|||
|
hdr |
String |
High Dynamic Range imaging, such as: On/Off |
No |
|||
|
QUICK_BURST_camera |
Burst shot |
Take a burst of five photos |
number |
Integer |
Number of burst shots. Defaults to 5. |
Yes |
|
VIDEO_recording |
Record video |
Record a video |
||||
|
STOP_VIDEO_recording |
Stop video recording |
Stop video recording |
||||
|
SWITCH_MODE_camera |
Switch camera mode |
Switch to video mode |
mode |
String |
Camera mode setting, such as: Photo mode/Video mode/Preview mode |
Yes |
Audio recording
|
Instruction name |
Instruction description |
Instruction example |
Parameter name |
Parameter type |
Parameter description |
Required |
|
AUDIO_recording |
Record audio |
Start recording the call audio |
audio_app |
String |
The application to record audio from, such as: Phone, Voice Recorder |
No |
|
STOP_AUDIO_recording |
Stop audio recording |
Pause recording |
Text-to-speech
|
Instruction name |
Instruction description |
Instruction example |
Parameter name |
Parameter Description |
Parameter description |
Required |
|
READ_screen |
Read the content currently displayed on the screen (mainly text) and convert it to audio for playback |
Open map
|
Instruction name |
Instruction description |
Instruction example |
Parameter name |
Parameter Description |
Parameter description |
Required |
|
ROUTE_map |
Open and display the map route from the starting location to the destination (or just the destination). Only shows the route, no navigation. |
endLoc_city |
String |
Destination city |
No |
|
|
startLoc_province |
String |
Starting province |
No |
|||
|
endLoc_poi |
String |
Destination Name |
No |
|||
|
startLoc_area |
String |
Starting administrative region (smaller than city-level, larger than specific locations) |
No |
|||
|
startLoc_poi |
String |
Origin location name |
No |
|||
|
startLoc_city |
String |
Starting city |
No |
|||
|
endLoc_province |
String |
Destination province |
No |
|||
|
endLoc_area |
String |
Destination administrative region (smaller than city-level, larger than specific locations) |
No |
Send text message
|
Instruction name |
Instruction description |
Instruction example |
Parameter name |
Parameter Description |
Parameter description |
Required |
|
SENDCONTACTS_message |
Send contact information to a specified contact |
category |
String |
Message type, such as mobile phone |
No |
|
|
receiver |
String |
Recipient |
Yes |
|||
|
name |
String |
Contact to send |
Yes |
|||
|
SEND_message |
Send a message to a specified contact |
content |
String |
Message content |
No |
|
|
contact |
String |
Contact to receive the message |
Yes |
|||
|
phone |
String |
Phone number of the recipient |
No |
|||
|
VIEW_message |
View messages |
message_type |
String |
Message type, such as SMS or email |
Yes |
Custom instructions
In addition to the system instructions, you can use custom instructions to implement more control skills.

The structure of custom instructions is the same as system instructions. You can create multiple instructions for each instruction type.
Each instruction includes an instruction name, description, and example. If parameters are required, you can also add a parameter name, description, and example.
-
Instruction name: Use English for the name. This name is used to issue the corresponding instruction.
-
Instruction description: Explains the purpose of the instruction.
-
Instruction example: Provide multiple sample utterances to improve the model's accuracy in issuing the instruction.
-
Parameters: You can set multiple parameters, such as specific adjustment values. Providing examples helps the model understand the meaning of the parameters and issue them more accurately.

After creating an instruction, check it in the custom instruction list and confirm it. The instruction is then automatically enabled in the current application.

To test if the instruction is effective, click Run Now below to start testing.