simulator_uninstall_app
MCP टूल जो टीम के Simulator से कोई ऐप और उसका डेटा हटाता है।
simulator_uninstall_app टीम के चल रहे Simulator से कोई ऐप हटाता है, उसके पूरे डेटा के साथ। Simulator साझा है, इसलिए ऐप AirBuild ऐप के Simulator pane और टीम के एजेंट के लिए भी चला जाता है। यह डिस्ट्रक्टिव है (destructiveHint: true)। किसी ऐप को हटाए बिना फिर से शुरू करने के लिए, इसके बजाय simulator_terminate_app से उसे बंद करें।
| रीड-ओनली | डिस्ट्रक्टिव | आइडेम्पोटेंट |
|---|---|---|
| नहीं | हाँ | हाँ |
इनपुट
| इनपुट | टाइप | ज़रूरी | डिफ़ॉल्ट | यह क्या करता है |
|---|---|---|---|---|
teamId |
string (UUID) | हाँ | — | टीम, list_teams से |
simulator |
string | नहीं | टीम का डिफ़ॉल्ट डिवाइस | कौन-सा डिवाइस, list_simulators से मिले id से |
bundleId |
string | हाँ | — | ऐप का bundle id, simulator_apps से |
नतीजा
| फ़ील्ड | मतलब |
|---|---|
ok |
true |
{ "ok": true }त्रुटियाँ
| संदेश | कब | क्या करें |
|---|---|---|
| bundleId is required. | bundleId मौजूद नहीं है या खाली है |
bundle id भेजें |
साथ ही वे त्रुटियाँ जो हर Simulator टूल लौटा सकता है: देखें start_simulator।
उदाहरण
{"name": "simulator_uninstall_app", "arguments": {"teamId": "00000000-0000-0000-0000-000000000000", "bundleId": "com.example.notes"}}