MCP टूल

MCP टूल जो टीम के Simulator पर इंस्टॉल किए गए ऐप को bundle id से launch करता है और सामने लाता है।

simulator_launch_app टीम के चल रहे Simulator पर इंस्टॉल किए गए ऐप को उसके bundle id से (simulator_apps से) launch करता है और सामने लाता है। यह कुछ इंस्टॉल नहीं करता: जो ऐप मौजूद नहीं है, वह app is not installed on this device के साथ फ़ेल होता है। यह कुछ भी डिलीट नहीं करता।

रीड-ओनली डिस्ट्रक्टिव आइडेम्पोटेंट
नहीं नहीं नहीं

इनपुट

इनपुट टाइप ज़रूरी डिफ़ॉल्ट यह क्या करता है
teamId string (UUID) हाँ — टीम, list_teams से
simulator string नहीं टीम का डिफ़ॉल्ट डिवाइस कौन-सा डिवाइस, list_simulators से मिले id से
bundleId string हाँ — ऐप का bundle id, जैसे com.example.notes

नतीजा

फ़ील्ड मतलब
ok true
env []: कोई environment variables नहीं दिए जाते
args 0: कोई launch arguments नहीं दिए जाते
{ "ok": true, "env": [], "args": 0 }

त्रुटियाँ

संदेश कब क्या करें
bundleId is required. bundleId मौजूद नहीं है या खाली है bundle id भेजें
app is not installed on this device उस bundle id वाला कोई ऐप इंस्टॉल नहीं है simulator_apps जाँचें, या simulator_install_app से इसे इंस्टॉल करें

साथ ही वे त्रुटियाँ जो हर Simulator टूल लौटा सकता है: देखें start_simulator।

उदाहरण

{"name": "simulator_launch_app", "arguments": {"teamId": "00000000-0000-0000-0000-000000000000", "bundleId": "com.example.notes"}}