---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/llm/claude_code_cli/wire/interfaces/ClaudeCodeCliExtraArg.md
description: One entry in a `--json-schema`/`--effort`-style `extraArgs` escape hatch.
---

# Interface: ClaudeCodeCliExtraArg

Defined in: [src/batteries/llm/claude\_code\_cli/wire.ts:18](https://github.com/NHTIO/ADK/blob/v1.20260827.0/src/src/batteries/llm/claude_code_cli/wire.ts#L18)

One entry in a `--json-schema`/`--effort`-style `extraArgs` escape hatch.

## Properties

| Property                             | Type                                                                                                         | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                         | Defined in                                                                                                                                        |
| ------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
|  `flag`    | | `"--betas"` | `"--prompt-suggestions"` | `"--effort"` | `"--agent"` | `"--json-schema"` | `"--name"` | The exact CLI flag spelling. Restricted to a small, deliberately-chosen allowlist.                                                                                                                                                                                                                                                                                                                                                                                  | [src/batteries/llm/claude\_code\_cli/wire.ts:20](https://github.com/NHTIO/ADK/blob/v1.20260827.0/src/src/batteries/llm/claude_code_cli/wire.ts#L20) |
|  `value?` | `string` | `string`\[]                                                                                       | The flag's value. Required for every flag except `--prompt-suggestions` (optional, matching the CLI's own `[value]` bracket syntax). A plain `string` for every flag except `--betas`, which accepts `string[]` (matching its own `<betas...>` variadic arity). Every individual value string, in every position, must not start with `-` — this is what makes it structurally impossible for a value to be interpreted by the CLI's own parser as a separate flag. | [src/batteries/llm/claude\_code\_cli/wire.ts:28](https://github.com/NHTIO/ADK/blob/v1.20260827.0/src/src/batteries/llm/claude_code_cli/wire.ts#L28) |
