# get()

Canonical URL: https://developers.iagenify.com/ar/sdk/ref/agents/subagents/get/
Language: ar

`api.agents.subagents.get(name) → Promise<Subagent>`

عامل فرعي واحد مع تعليماته، اختيار أداة و نموذجه. الحساب أولا، ثم هذا الحاسوب.

Status: free · account first · content included

```javascript
const explorer = await api.agents.subagents.get("explore");

console.log(explorer.description);
console.log(explorer.tools);      // ["read", "list", "glob", …] or null
console.log(explorer.model);      // "gemini-3.5-flash" or null
console.log(explorer.content);    // its instructions
```

## null means inherit {#inherit}

| الحقل | لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا لا |
| --- | --- |
| `tools` | اختيار الوكيل الأصلي |
| `model` | نموذج الوكيل الأصلي |

ملفّ يُسمّي نموذج عائلة اخرى — او يكتب `inherit` - يعود كما `null` بدلا من الفشل، لذا ملف منسخ من غير ذلك يعمل بدون تغيير.

## الأمر {#order}

الحساب أولاً، فقط 404 يمر إلى القرص، أي رفض آخر يتم رفعه.

## لا توجد أي ملفات إضافية {#no-files}

A a a a مستند. `readFile()` (أ) لا ينطبق على النص العربي. `not_a_skill` على هذه المكتبة

- [save()](/ar/sdk/ref/agents/subagents/save): تغييره.
- [تنسيق SKILL.md](/ar/sdk/agent/skills-and-subagents/skill-format): الملف

```python
explorer = api.agents.subagents.get("explore")

print(explorer["description"])
print(explorer.get("tools"))     # ["read", "list", "glob", …] or None
print(explorer.get("model"))     # "gemini-3.5-flash" or None
print(explorer["content"])       # its instructions
```
