Skip to main content

Overview

The Claude agent wraps the Claude Code CLI via ClaudeAgentApi. Configure it through Spring properties under agent-client.claude.*.

Configuration Properties

Prefix: agent-client.claude

Advanced Options

These options provide full parity with the Claude Code Python SDK:

Permission Modes

The permission-mode property overrides yolo when set. Available modes:

Tool Filtering

Control which tools Claude can use:
allowed-tools and disallowed-tools are mutually exclusive in practice. If both are set, allowed-tools takes precedence.

Budget Controls

Limit agent execution costs and turns:

Structured Output

Request structured JSON output using a JSON schema:

Authentication