0Pricing
MCP Academy · Ders

Araçlar: Modelin Gerçekleştirdiği Eylemler

Yapay zekânın bir işi gerçekleştirmek için çağırdığı işlevler.

Araçlar: Modelin Gerçekleştirdiği Eylemler, CoddyKit'te ücretsiz bir MCP Academy dersidir. Bu, 4 dersinin 1. dersidir. Aşağıdan dersin tamamını ücretsiz okuyabilir, sonra tarayıcıda yerleşik kod editörü ve 7/24 yapay zeka koçu ile uygulamalı olarak pratik yapabilirsin. Bu, MCP Academy öğrenme yolunun bir parçasıdır ve ilerlemeniz web ve CoddyKit uygulaması arasında senkronize olur. MCP Academy kursu toplamda 4 dersten oluşur.

Bu dersin bazı bölümleri henüz çevrilmemiş olup İngilizce olarak gösterilmektedir.

Meet the First Primitive

MCP gives a model three building blocks. The first is the tool: a function the AI can actually run to do something in the world. 🔧

Tools Take Action

A tool is for doing, not just knowing. Sending an email, querying a database, or creating a file all belong here because each one changes or fetches live state.

The Model Decides

You expose the tool, but the model chooses when to call it. Based on the conversation, the AI picks the right tool and fills in its arguments for you.

A Tool Is Just a Function

In the Python SDK a tool is a normal function. You mark it with the @mcp.tool() decorator and the server advertises it to clients.

@mcp.tool()
def add(a: int, b: int) -> int:
    return a + b

Every Tool Needs a Name

Each tool carries a name the model uses to call it. By default the function name becomes the tool name, so add and get_weather just work.

Descriptions Guide the AI

The model reads your docstring to learn what a tool does. A clear one sentence summary makes the AI pick the right tool at the right moment.

@mcp.tool()
def add(a: int, b: int) -> int:
    """Add two numbers together."""
    return a + b

Arguments Become a Schema

Your function's parameters turn into an input schema. The model sees the names and types so it knows exactly what data to send.

Results Flow Back

Whatever your tool returns goes back to the model as context. The AI then weaves that result into its reply to the user.

Tools Can Have Side Effects

Because a tool runs real code, it can change things: write to disk, charge a card, or post a message. That power is exactly why tools sit under user control. ⚠️

Model-Controlled by Design

MCP calls tools model-controlled. The model initiates the call, while the host app can still ask the user to approve it before anything runs.

One Tool, One Job

Keep each tool focused on a single clear action. Small, well named tools are far easier for the model to choose correctly than one giant catch-all.

Quick Check

Let's lock in what makes a tool a tool.

Recap: Tools

Nice work! A tool is a model-controlled function that does something. You name it, describe it, type its arguments, and return a result the AI can use. ✅

Sıkça Sorulan Sorular

“Araçlar: Modelin Gerçekleştirdiği Eylemler” dersi ücretsiz mi?

Evet — “Araçlar: Modelin Gerçekleştirdiği Eylemler” dersin tüm metni burada web'de ücretsiz olarak okunabilir. Etkileşimli olarak pratik yapmak (yerleşik kod editörü ve 7/24 yapay zeka koçu) ve MCP Academy kursunun geri kalanını açmak için CoddyKit PRO'ya yükselt. MCP Academy kursu toplamda 4 dersten oluşur.

“Araçlar: Modelin Gerçekleştirdiği Eylemler” dersinde ne öğreneceğim?

Yapay zekânın bir işi gerçekleştirmek için çağırdığı işlevler. MCP Academy ile uygulamalı kodu tarayıcıda doğrudan çalıştırarak pratik yaparsın ve 7/24 yapay zeka koçu dersi çalışırken sorularını yanıtlar.

MCP Academy öğrenmeye başlamak için deneyim gerekli mi?

Önceden deneyim gerekmez. CoddyKit'te MCP Academy, başlangıçtan ileri seviyeye kadar yapılandırıldığı için buradan başlayabilir veya başından başlayıp kendi hızında ilerleme yapabilirsin. Bu, 4 dersinin 1. dersidir.

“Araçlar: Modelin Gerçekleştirdiği Eylemler” dersi ne kadar sürer?

Çoğu CoddyKit dersi yaklaşık 5–10 dakika sürer. Her biri kısa ve etkileşimli olduğu için sabit ilerleme yaparsın ve web ile uygulama arasında tam olarak bıraktığın yerden devam edebilirsin.

Bu MCP Academy dersinde kod yazıp çalıştırabilir miyim?

Evet. Her MCP Academy dersi yerleşik bir kod editörü içerir, bu sayede tarayıcıda gerçek kod yazıp çalıştırabilir ve anlık yapay zeka geri bildirimi alırsın — yerel kurulum gerekli değildir.

Bu kursun tüm dersleri

  1. Araçlar: Modelin Gerçekleştirdiği Eylemler
  2. Kaynaklar: Modelin Okuduğu Veriler
  3. İstemler: Yeniden Kullanılabilir Talimatlar
  4. Doğru Yapı Taşını Seçme
← MCP Academy Sayfasına Dön