Tools

This track teaches how to declare tools, attach them to agents, bound the tool execution loop, and use the bundled common tools package. Examples use the stub provider unless noted.

What you will learn

LessonTopic
01 Define a toolTool(name, description, input_schema, execute)
02 Attach tools to agentsPass tools on Agent(..., tools=...)
03 Tool loop and max iterationsToolExecutionConfig and loop bounds
04 Common tools bundleCommonTools.bundle() for web and document helpers

Prerequisites

Complete Install and build, the fundamentals track, and at least 01 Linear pipelines. You should be comfortable defining agents and running workflow.run(input) with stub output.

Quick sanity check:

bash
python -c "from arcflow import Agent, Tool, Workflow; print('ready')"

How these lessons are structured

Every page follows the same sections: Before you start, Concept, Example, Verify, and Next. Run each example as a standalone script.

After this track

GoalNext document
Full tool loop semanticsTool execution loop
LangChain tool conversionarcflow.langchain.from_langchain_tool
Agent fields referenceDefining agents