get_code_example
Retrieve executable code snippets for common automation tasks like clicking, image recognition, OCR, or swiping on Android, iOS, or Windows.
Instructions
获取常见自动化任务的可运行代码示例。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"task": "<task>",
"platform": "<platform>"
},
"name": "get_code_example"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | 任务关键词,如 '点击'、'找图'、'OCR'、'滑动' | |
| platform | Yes | 目标平台 |