---
title: RELKIT_AGENT_TOOL_LIMIT
description: "Agent hit its tool-call limit."
pagination: false
search:
  keywords: [RELKIT_AGENT_TOOL_LIMIT]
sidebar:
  icon: triangle-alert
---

{/* Generated by apps/docs/scripts/generate.ts. Do not edit. */}

**Agent hit its tool-call limit.**

## What happened

The agent made as many tool calls as its limit allows without producing a final answer.

## What to do

Raise the agent's `maxToolCalls` limit, or give it clearer instructions so it needs fewer tool calls.

Reported by `@relkit/langchain`, `relkit/agent-adapters`, `relkit/diagnostics`.

See [all error codes](/docs/errors).
