ClaudeCode.Model.Effort (ClaudeCode v0.36.3)

View Source

Effort level for controlling how much effort Claude puts into its response.

Used by ClaudeCode.Model.Info to describe supported effort levels and by session/query options to configure the effort level.

Values

  • :low - Minimal thinking, fastest responses
  • :medium - Moderate thinking
  • :high - Deep reasoning (default)
  • :max - Maximum effort

Summary

Functions

Parses an effort level string from the CLI into an atom.

Types

t()

@type t() :: :low | :medium | :high | :max

Functions

parse(other)

@spec parse(String.t()) :: t()

Parses an effort level string from the CLI into an atom.

Returns the original value if unrecognized.

Examples

iex> ClaudeCode.Model.Effort.parse("low")
:low

iex> ClaudeCode.Model.Effort.parse("max")
:max