clear_app_data
Delete all stored data and cache for a specified Android app package, matching the system Clear Data action. Provide the package name to reset an app to its initial state.
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": {
"package_name": "<package_name>"
},
"name": "clear_app_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package_name | Yes | 要清除数据的应用包名,例如 com.example.app。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |