Skip to main content
You can give any Claude-powered agent access to arg.ai workspace tools — bash execution, file read/write/edit, and grep — by defining them as tools and calling the arg.ai API when the model invokes them.

How it works

  1. Define tools — each arg.ai tool endpoint is registered as a tool with matching parameters
  2. Run the agent loop — send messages to Claude; when the model returns tool_use blocks, execute them against the arg.ai API
  3. Return results — pass tool output back as tool_result blocks so the model can continue
See the Tools guide for details on each endpoint and the API reference for full request/response schemas.