# الخيارات · الأدوات والمكتبة

Canonical URL: https://developers.iagenify.com/ar/sdk/ref/agents/options/tools/
Language: ar

`tools · skills · subagents · mcp · agent`

أي من الأدوات ال 36 التي يُقص على النموذج عنها، أي المهارات والمكونات الفرعية التي قد يصل إليها، وما الذي يرتبط بها MCP كل شيء هنا يكلف كل شيء كل شيء

Status: all by default · unknown is refused · declarations cost tokens

| Name | Type | Requirement | Description |
| --- | --- | --- | --- |
| `tools` | string[] | "all" | all 35 | أي الأدوات المُدمجة في الأدوات. `unknown_tool`. |
| `skills` | string[] | all | ما هي المهارات التي المهارات. `[]` لـ لا شيء |
| `subagents` | string[] | all | أيّها كشكالات. `[]` لا شيء - ثم لا `task` (أ) أداة التشغيل. |
| `mcp` | string[] | string | all connected | ((( MCP خوادم الخدمة المدنية. `[]` لـ لا شيء |
| `agent` | string | null | اديروا كامل المحادثة كوكيل مكتبة هذا ، دور ، نموذج وأدوات . |

```javascript
api.agents.create({
  runtime: "local", machine: pc, model: "gemini-3.5-flash",
  tools: ["read", "list", "glob", "grep", "write", "edit", "multi_edit", "bash"],
  skills: ["house-style"],
  subagents: [],          // no delegation
  mcp: [],                // no third-party tools
});
```

## "الأقل من ذلك هو أرخص" {#cost}

> **كل إعلان يرسل بكل دور**
>
> في وظيفة لا تُقرأ أو تُحرّر إلا، فإن قطع الخدمات والأدوات الإعلامية يزيل تكلفة ثابتة من كل خطوة - ويزيل تعليماتهم من النظام بسرعة معها. تكلفة العامل هي عدد الدوران، ولكن عرض المنعطف هو هذه القائمة.

## بعض الأدوات تترك لوحدها {#disappear}

`bash` without a shell on a phone, `terminal` on a phone at all, `skill` and `task` with an empty library, `ask_user` with no `onQuestion`, `memory` with `memories: false`. A tool that could not run is not declared, so the model never plans around it.

## المكتبة هي إعادة قراءة كل عملية {#library}

شيء ما مضاف من نافذة أخرى متاح دون إعادة تشغيل أي شيء يحمل الحزمة. `libraryStatus` يقول لماذا عادت مكتبة فارغة -- "لا شيء" من دون مصدر، رمز للرفض.

## الوكيل: عامل تشغيل كعامل مكتبة {#agent-option}

The whole conversation takes that agent's instructions, model and tool selection, while keeping `ask_user`, `todo_write` and `memory`. A name that is not a library name is refused with `invalid_agent`.

## MCP خوادم أدوات أيضاً {#mcp}

كل أداة مسموح بها من خادوم متصل هي إعلان آخر على كل دور - ولهذا يتم اختيار الخوادم في كل تشغيل و يسمح بالأدوات لكل اتصال.

- [أدوات الوكيل](/ar/sdk/agent/tools): الـ 35
- [المهارات والوكلاء الفرعيون](/ar/sdk/agent/skills-and-subagents): من حيث تأتي المكتبة
- [api.mcp](/ar/sdk/ref/mcp): موصلات الخوادم.

```python
api.agents.create(
    runtime="local", machine=pc, model="gemini-3.5-flash",
    tools=["read", "list", "glob", "grep", "write", "edit", "multi_edit", "bash"],
    skills=["house-style"],
    subagents=[],           # no delegation
    mcp=[],                 # no third-party tools
)
```
