WORKINGCHAPTER 10

Tool use and function calling

The model writes a structured request; your code decides whether to run it. Everything else in this chapter follows from that one line

50 MINAI ENGINEERINGUPDATED 2026-11-02
PREDICT

You send Claude a request with a customer_orders tool defined and the message 'What did customer 42 order last?'. The response comes back with stop_reason 'tool_use'. What has happened to your database?

A model on its own can only produce text. Tool use, also called function calling, lets it produce something else: a structured request to run a function you defined, with arguments that match a schema you wrote. Your code runs the function and hands back the result, and the model continues with that result in front of it. A model that can call customer_orders and lookup_order can answer questions about live data it was never trained on, and a model that can call issue_refund can move money. This chapter is about the mechanism, the parts of it that are really prompt engineering, and the line between what the model proposes and what your code permits.

The loop: the model proposes, your code runs

One tool call is two API requests:

your codeMessages API1. user message + tools[]2. tool_use: customer_orders(42), stop_reason tool_use3. validate, authorise,run the query4. history + tool_result (same id)5. text answer, stop_reason end_turn

In the first request you send the user’s message and a tools array. Each tool has a name (matching ^[a-zA-Z0-9_-]{1,128}$), a description, and an input_schema in JSON Schema. When the model decides a tool would help, the response has stop_reason: "tool_use" and one or more tool_use content blocks, each with an id, a name and an input object. Often there is a short text block first (“I’ll look up the customer’s orders”).

Your code then appends the whole assistant response to the history, runs the function, and sends a new user message containing a tool_result block whose tool_use_id matches. The model reads the result and either calls another tool or answers. The loop ends when stop_reason is end_turn.

Three formatting rules cause most of the 400 errors people hit. The tool_result must come in the user message immediately after the assistant message that requested it, with nothing in between. Inside that user message, tool_result blocks come first and any text after them. And every tool_use id needs a tool_result, including the ones that failed.

The API is stateless, so every request carries the full history, tool results included. A tool that returns 20,000 tokens of JSON costs you 20,000 input tokens on every later turn of the conversation. Shape results to what the model needs for its next step: ids, names, the fields that answer the question. The tool definitions cost tokens too: they are rendered into a system prompt that adds a few hundred tokens per request on current models (286 on Claude Opus 5.5) before your own definitions.

Tool definitions are the real prompt

The model decides which tool to call, and with what arguments, almost entirely from the names, descriptions and schemas you give it. Anthropic’s documentation calls detailed descriptions “by far the most important factor in tool performance” and recommends at least three or four sentences per tool. Compare:

{"name": "orders", "description": "Gets orders.",
 "input_schema": {"type": "object", "properties": {"id": {"type": "integer"}}}}
{"name": "customer_orders",
 "description": "List a customer's five most recent orders, newest first, with order id, status, "
                "total_cents and created_at. Use this when the question names a customer and you need "
                "their order history. It does not return line items or stock levels: call lookup_order "
                "with an order id from this result for those.",
 "strict": True,
 "input_schema": {"type": "object",
                  "properties": {"customer_id": {"type": "integer", "description": "Numeric customer id, e.g. 42"}},
                  "required": ["customer_id"], "additionalProperties": False}}

The first leaves the model guessing whether id is a customer or an order, how many orders come back and in what order, and what to do next. The second says what it returns, when to call it, what it does not do, and which tool comes after it. That last sentence is how you get chaining: the model plans its second call from the description of the first.

A few rules that carry over from writing good APIs for people. Name tools by what they do, with a service prefix once you have more than one service (shop_lookup_order, crm_find_contact). Prefer a few capable tools to many thin ones; every extra tool is another choice the model can get wrong. Use enum for parameters with a fixed set of values. Return stable identifiers the model can pass to the next tool, and leave out internal fields it cannot use. Set strict: true so the input always matches the schema; strict tools need additionalProperties: false and a required list, and use the same grammar machinery as the previous chapter’s structured outputs.

Parallel tool calls

When two lookups do not depend on each other, the model may request both in one response: two tool_use blocks, one stop_reason. “Is SKU-10042 in stock, and what did customer 42 order last?” typically produces a search_products and a customer_orders call together. Your code can run them concurrently, then return both tool_result blocks in a single user message.

Return them in one message, always. Splitting parallel results across several user messages is accepted by the API and quietly teaches the model, through the history it sees, that parallel calls are not how this conversation works; it stops making them, and every later turn costs an extra round trip. If you need at most one call per turn, for example because your tools must run in order, set disable_parallel_tool_use: true inside tool_choice.

Parallelism is also where dependency mistakes show. The model will not issue lookup_order in parallel with customer_orders when it needs the order id from the first: a dependent call needs the first result, so it comes a turn later. When you see the model guess an id to save a turn, your descriptions are not telling it where ids come from.

Tool errors and how to return them

Tools fail: the database times out, the order does not exist, the arguments are valid JSON but nonsense. Return the failure as a tool_result with is_error: true and a message the model can act on. The model reads it like any other result and adapts: retries with corrected arguments, tries another tool, or tells the user what it could not find.

The message is the important part. "failed" gives the model nothing, and it will often retry the same call. "No order with id 99. Order ids come from customer_orders; call it first." tells it exactly what to do. "Database timeout after 2 s. Retry once; if it fails again, answer with what you have and say what is missing." sets a retry budget in the error itself. Anthropic’s docs note that for a call with missing or invalid parameters, Claude retries two to three times with corrections before giving up; your error text decides whether those retries converge.

Two things not to do. Do not raise the exception out of your loop and lose the conversation: catch it per call and turn it into a tool_result. And do not put stack traces, connection strings or internal hostnames in the error. Tool results go back to the model and from there potentially to the user; an error message is output.

Tool choice and forcing

tool_choice controls whether the model may or must call tools. auto (the default when tools are present) lets it decide. none forbids tool calls. any requires at least one call, and tool with a name requires that specific tool. Forcing used to be the standard way to get structured output (define a tool, force it, read the arguments) and the standard way to make the first step of a pipeline deterministic.

On the newest models, forcing is gone. Claude Opus 5.5, Claude Sonnet 5.5 and Claude Fable 5.1 return a 400 for tool_choice of type any or tool. Claude Opus 5 and older models still accept it. The replacements:

You forced a tool to… Use instead
get JSON back in a fixed shape output_config.format (the previous chapter)
guarantee arguments match the schema strict: true on the tool, with tool_choice auto
make sure the model calls a tool at all auto plus an instruction (“Use customer_orders to answer”), and check the response for a tool_use block, re-prompting if there is none
make the first step of a pipeline deterministic do not involve the model: call the function yourself and put the result in the prompt

The last row is worth taking seriously. If your code already knows that the first step is always customer_orders(42), running it through the model is paying for a decision that was never in doubt. Forcing also had a side effect worth knowing about on models that still accept it: a forced call skips thinking, so the response starts with the tool_use block and the model has had no room to reason about the arguments.

Idempotency and side effects

Read-only tools are forgiving. If the model calls lookup_order twice, or your loop retries after a timeout, nothing happens except a second query. Tools with side effects are not forgiving, and LLM loops retry more than you expect: the model retries after an ambiguous error, your HTTP client retries after a timeout (the Anthropic SDK retries 408, 409, 429 and 5xx twice by default, and so does whatever your tool calls), and a user regenerates a response.

Every tool that writes needs an idempotency key, generated by your code, not by the model. The tool_use id is a natural candidate: it is unique per proposed call and stable if you re-run the same turn. Store it with the effect (insert ... on conflict (idempotency_key) do nothing) and a repeated call becomes a no-op that returns the original result. The observability lab’s payments service does exactly this with Redis keys; the same pattern applies here, and the idempotency lesson covers why.

The security line: the model proposes, your code decides

Everything in a tool_use block was written by a model whose input you do not fully control. The user’s message is input. So is every tool result: the product description, the email body, the web page, the GitHub issue. Text in any of those can contain instructions, and a model that reads instructions tends to follow them. The next module’s chapter on prompt injection covers the attacks. The defence starts here, in how you structure the boundary:

  • Authorisation lives in code. The tool runs with the permissions of the user the conversation belongs to, not with an admin token. customer_orders for a logged-in customer ignores the customer_id argument and uses the session’s id. The model cannot talk its way past a WHERE customer_id = %s your code filled in.
  • Least privilege at the connection. The lab’s tools connect with default_transaction_read_only = on; in production, use a database role that has only SELECT on the tables the tools need. Then a bug in your tool code, or a cleverly crafted argument, still cannot write.
  • Limits in code. Cap result sizes, statement time and call counts per conversation. A refund tool checks the amount against the order total and a per-conversation ceiling, whatever the model asked for.
  • Approval for irreversible actions. Above a threshold, the tool does not act; it returns “refund of €240 proposed, awaiting approval” and a human or a separate policy service decides.
  • Untrusted content stays in tool results. Anthropic’s docs advise keeping content from outside sources inside tool_result blocks rather than system prompts or user text, so the model can distinguish data from instructions. It helps; it is not a defence on its own.

The Invariant Labs attack in the opening worked because none of the first three held: the agent’s token could read every private repository, nothing tied a call to the scope of the user’s request, and nothing in code limited where data could flow. Prompt wording would not have saved it.

The tool runner, and why you write the loop once by hand

The Anthropic Python SDK has a tool runner (in beta) that runs this loop for you: decorate functions with @beta_tool, pass them to client.beta.messages.tool_runner(...), and it calls the API, runs the tools, appends the results and repeats until the model stops. It handles pause_turn from server tools, and you can bound it with max_iterations, inspect each turn before tools execute, and gate a call by returning a “declined” result from inside the tool. For most applications it is the right choice.

The lab writes the loop by hand anyway, because the agents chapter that follows needs to put a budget, a cost cap and a log on every step, and because you cannot debug a loop you have never seen. Once you have written it, use the runner where it fits.

LAB Three tools over the shop ~40 MIN
YOU NEEDPython 3.12 and uvthe shop database from labs/databases running (docker compose up, scale 0.1 is enough)an Anthropic API key in ANTHROPIC_API_KEYabout $0.30 of API credit

You will give Claude three read-only tools over the shop database, watch it chain them, inject a failure, run a parallel call, and see what happens when you try to force a tool on a model that no longer allows it.

Cost: claude-opus-5-5 at $4 per million input tokens and $20 per million output. A question that takes two tool calls is three requests of roughly 1,500 input and 300 output tokens each, about four cents. The whole lab is under $0.30. Step 5 also calls claude-opus-5 ($5 in, $25 out) once.

1. Indexes and the tools. The tools look orders up by customer and items by order. The shop schema ships with primary keys only, so add the two indexes these lookups need. They have the names and columns the Databases course uses, so if you built them there these statements do nothing:

cd labs/databases
docker compose exec db psql -U atlas shop -c "create index if not exists orders_customer_created on orders (customer_id, created_at);" -c "create index if not exists order_items_order_id on order_items (order_id);" -c "select count(*) from orders where customer_id = 42;"
Two CREATE INDEX lines (a minute or so at scale 1, seconds at 0.1; a NOTICE ... already exists, skipping instead if the Databases course made them), then a count. customer_orders reads the first index backwards for its order by created_at desc. If customer 42 has no orders at your scale, find one that does with select customer_id from orders group by 1 having count(*) >= 3 limit 1; and use that id wherever this lab says 42.

In labs/ai/tools/, add the Postgres driver and create shop_tools.py. The agents, MCP and support-agent chapters reuse these three functions and tool definitions, so keep the names:

cd ../ai && uv add anthropic "psycopg[binary]" && mkdir -p tools && cd tools
import os, psycopg

DSN = os.environ.get("SHOP_DSN", "postgres://atlas:atlas@localhost:5432/shop")
conn = psycopg.connect(DSN, autocommit=True)
conn.execute("set default_transaction_read_only = on")   # the tools cannot write, whatever they are asked
conn.execute("set statement_timeout = '3s'")

def q(sql, *args):
    cur = conn.execute(sql, args)
    cols = [c.name for c in cur.description]
    return [dict(zip(cols, row)) for row in cur.fetchall()]

def customer_orders(customer_id: int):
    return q("""select id, status, total_cents, created_at from orders
                where customer_id = %s order by created_at desc limit 5""", customer_id)

def lookup_order(order_id: int):
    order = q("select id, customer_id, status, total_cents, created_at, shipped_at from orders where id = %s", order_id)
    if not order:
        raise LookupError(f"No order with id {order_id}. Order ids come from customer_orders.")
    items = q("""select p.sku, p.name, oi.qty, oi.unit_price_cents, i.on_hand
                 from order_items oi join products p on p.id = oi.product_id
                 left join inventory i on i.product_id = p.id
                 where oi.order_id = %s""", order_id)
    return {**order[0], "items": items}

def search_products(query: str):
    return q("""select p.sku, p.name, p.category, p.price_cents, i.on_hand
                from products p left join inventory i on i.product_id = p.id
                where p.name ilike %s or p.sku = %s order by p.id limit 5""", f"%{query}%", query.upper())

TOOLS = [
    {"name": "customer_orders", "strict": True,
     "description": "List a customer's five most recent orders, newest first, with order id, status, total_cents "
                    "and created_at. Use this when the question names a customer and you need their order history. "
                    "It does not return line items or stock: call lookup_order with an order id from this result.",
     "input_schema": {"type": "object", "additionalProperties": False, "required": ["customer_id"],
                      "properties": {"customer_id": {"type": "integer", "description": "Numeric customer id, e.g. 42"}}}},
    {"name": "lookup_order", "strict": True,
     "description": "Fetch one order with its line items. Each item has sku, product name, qty, unit_price_cents "
                    "and on_hand, the units currently in stock (0 means out of stock). Use it when you have an order id "
                    "and need what was bought or whether those products are in stock.",
     "input_schema": {"type": "object", "additionalProperties": False, "required": ["order_id"],
                      "properties": {"order_id": {"type": "integer", "description": "Numeric order id"}}}},
    {"name": "search_products", "strict": True,
     "description": "Search the catalogue by words in the product name or by exact SKU. Returns up to five products "
                    "with sku, name, category, price_cents and on_hand. Use it when the question names a product "
                    "rather than an order.",
     "input_schema": {"type": "object", "additionalProperties": False, "required": ["query"],
                      "properties": {"query": {"type": "string", "description": "Name words or a SKU"}}}},
]
FUNCS = {"customer_orders": customer_orders, "lookup_order": lookup_order, "search_products": search_products}
uv run python -c "from shop_tools import *; print(customer_orders(42)[:1]); print(lookup_order(customer_orders(42)[0]['id'])['items'][:1])"
One order dict and one item dict with sku, name, qty, unit_price_cents and on_hand. Both queries return in milliseconds thanks to the indexes. Without them, the order_items lookup is a sequential scan of six million rows and hits the 3-second statement timeout at scale 1.

2. The loop. Create ask.py. It prints every proposed call before running it:

import json, os, sys
import anthropic
from shop_tools import TOOLS, FUNCS

MODEL = os.environ.get("MODEL", "claude-opus-5-5")
client = anthropic.Anthropic()
# Opus and Sonnet retry a classifier decline on a fallback model (the API chapter's rule)
FALLBACK = {} if MODEL.startswith("claude-haiku") else {
    "betas": ["server-side-fallback-2026-07-01"], "fallbacks": "default"}

def run_tool(block):
    try:
        if os.environ.get("FAIL_TOOL") == block.name:
            raise TimeoutError("Database timeout after 3 s. Retry once; if it fails again, "
                               "answer with what you have and say what is missing.")
        out = FUNCS[block.name](**block.input)
        return {"type": "tool_result", "tool_use_id": block.id, "content": json.dumps(out, default=str)}
    except Exception as e:
        return {"type": "tool_result", "tool_use_id": block.id, "is_error": True, "content": f"{type(e).__name__}: {e}"}

messages = [{"role": "user", "content": sys.argv[1]}]
for turn in range(8):
    r = client.beta.messages.create(model=MODEL, max_tokens=4000, tools=TOOLS, messages=messages,
                                    output_config={"effort": "low"}, **FALLBACK)
    messages.append({"role": "assistant", "content": r.content})   # whole content, thinking blocks included
    calls = [b for b in r.content if b.type == "tool_use"]
    print(f"turn {turn}: stop_reason={r.stop_reason} calls={[f'{c.name}({json.dumps(c.input)})' for c in calls]}")
    if r.stop_reason != "tool_use":
        break
    results = [run_tool(c) for c in calls]
    for res in results:
        if res.get("is_error"):
            print("   error returned:", res["content"][:80])
    messages.append({"role": "user", "content": results})   # all results, one message
print("\n" + next((b.text for b in r.content if b.type == "text"), f"(no text, stop_reason={r.stop_reason})"))
uv run ask.py "What did customer 42 buy most recently, and is it in stock?"
Three turns. turn 0: stop_reason=tool_use calls=['customer_orders({"customer_id": 42})'], then turn 1: ... calls=['lookup_order({"order_id": ...})'] with the id of the newest order from the first result, then turn 2: stop_reason=end_turn calls=[] and an answer naming the products, quantities and whether each has stock. The model planned the second call from the first tool’s description (“call lookup_order with an order id from this result”). Delete that sentence from the description and re-run: the model usually still gets there, but sometimes calls search_products with a product name instead, an extra turn that the description was preventing.

3. Inject a tool error.

FAIL_TOOL=lookup_order uv run ask.py "What did customer 42 buy most recently, and is it in stock?"
customer_orders succeeds, lookup_order returns error returned: TimeoutError: Database timeout after 3 s. Retry once..., the model retries it once (as the message asked), gets the same error, and stops: the answer gives the most recent order’s id, date and total and says it could not retrieve the items or stock. Now change the error text in run_tool to "failed" and run again. The model typically retries more times, sometimes with different arguments, and the answer is vaguer. The error message is a prompt.

4. A parallel call.

uv run ask.py "Two questions: what are customer 42's last orders, and is there anything called 'lamp' in stock?"
turn 0 shows two calls in one response, customer_orders and search_products, and both results go back in one user message. If your catalogue has no product with ‘lamp’ in its name, the search returns [] and the answer says so. The model issued them together because neither needs the other’s result.

5. Try to force a tool. Create force.py:

import anthropic
from shop_tools import TOOLS
client = anthropic.Anthropic()
msg = [{"role": "user", "content": "Hello, what can you do?"}]
for model in ["claude-opus-5-5", "claude-opus-5"]:   # no fallbacks: this script exists to show the 400
    try:
        r = client.messages.create(model=model, max_tokens=2000, tools=TOOLS, messages=msg,
                                   tool_choice={"type": "tool", "name": "search_products"})
        print(model, r.stop_reason, [(b.type, getattr(b, "input", None)) for b in r.content])
    except anthropic.BadRequestError as e:
        print(model, "400:", e.message[:120])
uv run force.py
claude-opus-5-5 400: ... tool_choice: type "tool" and "any" are not supported for this model. Then claude-opus-5 tool_use [('tool_use', {'query': ...})]: the older model obeys and invents a search query for a greeting, with no thinking block before it. Forcing makes a tool call happen whether or not it makes sense. On current models, ask for the tool in the prompt and check for a tool_use block; when you know the call is always needed, make it yourself.
Remove set default_transaction_read_only = on from shop_tools.py, add a fourth tool run_sql that takes a sql string and executes it, and ask uv run ask.py "Customer 42 says order totals are wrong. Fix them." Watch the proposed calls: a well-behaved model will usually ask for confirmation or propose an UPDATE with a plausible-looking WHERE. Do not run that against data you care about. The read-only connection was the only thing between a polite request and a write to two million rows, and no amount of prompt wording would have been as reliable. Put the line back and delete run_sql.
ARTEFACT Write the tool specification sheet ~45 MIN
YOU PRODUCEA tool specification sheet

Template

# Tool specification: <tool_name>
Owner: <role> · Approver for changes: <role> · Version: <n> · Date: <date>
Decision needed: <what, from whom, by when>

## 1. Purpose and scope
<one sentence: the question this tool answers>. Out of scope: <what it must never be used for>.

## 2. Description the model reads (verbatim)
<what it returns, when to call it, what it does not do, which tool comes next>

## 3. Parameters
| Name | Type | Required | Meaning and example | Limits |

## 4. Permissions
- Reads: <tables, services>. Writes: <none, or what>.
- Runs as: <whose identity>. Enforced in code by: <the line or setting>.

## 5. Side effects and idempotency
<each effect, its key, what a repeated call does, and the approval above which a human decides>

## 6. Failure modes
| Failure | Exact error text returned | What the model should do next |

## 7. Test cases
| # | Input | Expected | Pass condition |

## 8. How this could be wrong
<one way, and what would show it>

## 9. Change control
Approved by <role, date>. A change needs: <test cases re-run, who reviews, rollback>.
WORKED EXAMPLE

At a real company, the engineer who owns the support assistant writes this sheet and the head of engineering approves any change to it. This one covers lookup_order for the shop, using the lab’s own text and outputs.

Tool. lookup_order, version 1. Owner: the assistant’s engineer. Approver: head of engineering. Date: 21 November 2026. Decision needed: approve it for a support assistant that the chapter’s decision scenario assumes handles about 3,000 conversations a day.

Purpose and scope. Returns one order with its line items and stock. Out of scope: any write, and (assumed: the lab skips this) any order outside the logged-in customer’s own.

Description (verbatim). “Fetch one order with its line items. Each item has sku, product name, qty, unit_price_cents and on_hand, the units currently in stock (0 means out of stock). Use it when you have an order id and need what was bought or whether those products are in stock.”

Parameters. order_id, integer, required, strict.

Permissions. Reads orders, order_items, products, inventory. Writes nothing: the connection sets default_transaction_read_only = on and a 3-second statement_timeout.

Side effects. None, so no idempotency key.

Failures. Unknown id: “LookupError: No order with id 99. Order ids come from customer_orders.” Timeout: “Database timeout after 3 s. Retry once; if it fails again, answer with what you have and say what is missing.”

Tests. T1: ask about customer 42’s latest purchase. Pass: three turns, customer_orders then lookup_order, then end_turn with stock stated. T2: FAIL_TOOL=lookup_order. Pass: one retry, then an answer that says items and stock could not be retrieved. T3 (a prediction, not a printed result): the same run with the error text changed to “failed”. The lab says only that the model typically retries more and answers more vaguely, so compare with T2 and record what you see.

Could be wrong. The lab’s estimate is about four cents a question (three requests of roughly 1,500 input and 300 output tokens each); long orders would cost more. Rising input tokens per request would show it.

Change control. Approved by the head of engineering. Re-run T1 to T3 before editing the description.

Now you

You work at Wrenpost, the messaging API company, where the support team of 12 answers business customers who ask whether a message was delivered. The head of engineering wants the existing support assistant to answer that question, using one new read-only tool, message_status, that takes a message id and returns its delivery status and the time of the last delivery report.

Write the specification sheet for message_status. Reuse what the lab gave you: a read-only connection, a statement timeout, errors that tell the model what to do next, and the T1 to T3 test shape. State as assumptions any figure the chapter does not print, such as how many lookups a day. Decide who may call it for which customer’s messages, and how that is enforced in code rather than in the prompt.

The sheet is read by the head of engineering and a security reviewer, and it supports one decision: whether the tool goes to the support team for a two-week trial.

Self-check

DECIDE

The support assistant for the shop handles about 3,000 conversations a day. Product wants it to issue refunds without a human for simple cases, such as a damaged item. Refunds today average €35 and the largest are around €400. How do you give the model this capability?

READING
  1. DOC
    Tool use with Claude

    The mechanism in Anthropic's words: client versus server tools, the round trip, tool_choice, pricing of tool tokens. Follow its links to Define tools and Handle tool calls; skip the server-tool pages until you need them.

  2. DOC
    Define tools

    Best practices for descriptions with a good and a poor example, input_examples, and the forcing table that lists which models reject tool_choice any and tool. Short, and the description guidance alone is worth the read.

  3. POST
    Writing effective tools for AI agents, using AI agents Anthropic, 2025

    How to design a tool surface: consolidation, namespacing, returning high-signal results, and evaluating tools with realistic tasks. Read the principles sections; skip the parts specific to Claude Code.

  4. PAPER
    ReAct: Synergizing Reasoning and Acting in Language Models Yao et al., 2022

    The paper that framed interleaving reasoning with actions, which every tool loop since descends from. Shows why acting without reasoning and reasoning without acting both fail. Read: sections 1 to 3 and the HotpotQA trajectories in the appendix.

  5. PAPER
    Toolformer: Language Models Can Teach Themselves to Use Tools Schick et al., 2023

    How a model learns when a tool call helps, by keeping only the calls that reduce its loss. Background for why modern models are trained to call tools rather than prompted into it. Read: sections 1 to 3; skim the experiments.

  6. POST
    GitHub MCP Exploited: Accessing private repositories via MCP Invariant Labs, 2025

    The incident in this chapter's opening, step by step. Read it for how ordinary, permitted tool calls compose into a leak, and for why the mitigations are about permissions and data flow, not prompts.

All companies and people in these examples are fictional. Any resemblance to a real business or person is unintended.

RECALL CARDS Tap to flip. They join your review deck when you mark the lesson complete.
NEXT: Agents: loops, planning, memory, and when not to use one →