MCP टूल

MCP टूल जो टीम के Simulator पर इंस्टॉल किए गए ऐप की सूची उनके bundle ids के साथ देता है।

simulator_apps टीम के चल रहे Simulator पर इंस्टॉल किए गए ऐप की सूची देता है: हर ऐप का bundle id, नाम और वर्शन। डिफ़ॉल्ट रूप से यह सिर्फ़ वे ऐप दिखाता है जिन्हें किसी ने इंस्टॉल किया (किसी व्यक्ति, एजेंट या simulator_install_app ने); all iOS के साथ आने वाले ऐप भी जोड़ता है। यह रीड-ओनली है। bundle ids को simulator_launch_app, simulator_terminate_app और simulator_uninstall_app के साथ इस्तेमाल करें।

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

इनपुट

इनपुट टाइप ज़रूरी डिफ़ॉल्ट यह क्या करता है
teamId string (UUID) हाँ — टीम, list_teams से
simulator string नहीं टीम का डिफ़ॉल्ट डिवाइस कौन-सा डिवाइस, list_simulators से मिले id से
all boolean नहीं false true Apple के system ऐप भी दिखाता है

नतीजा

फ़ील्ड मतलब
ok true
apps इंस्टॉल किए गए ऐप
apps[].bundleId ऐप का bundle id
apps[].name उसका नाम, जब ऐप का नाम हो
apps[].version उसका वर्शन, जब ऐप का वर्शन हो
apps[].type user (किसी ने इंस्टॉल किया) या system (iOS के साथ आता है; सिर्फ़ all के साथ)
{ "ok": true, "apps": [ { "bundleId": "com.example.notes", "name": "Notes", "version": "1.0", "type": "user" } ] }

त्रुटियाँ

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

उदाहरण

{"name": "simulator_apps", "arguments": {"teamId": "00000000-0000-0000-0000-000000000000"}}