# Interface CliTask

Task to execute on a CLI.

interface CliTask {
content: string;
systemPrompt?: string;
model?: string;
sessionId?: string;
maxTokens?: number;
timeoutMs?: number;
options?: Record<string, unknown>;
}

- Defined in packages/nexus-agents/src/cli-adapters/types-capability.ts:70

##### Index

### Properties

content
systemPrompt?
model?
sessionId?
maxTokens?
timeoutMs?
options?

## Properties

### `Readonly` content

content: string

Task content/prompt

- Defined in packages/nexus-agents/src/cli-adapters/types-capability.ts:72

### `Optional` `Readonly` systemPrompt

systemPrompt?: string

Optional system prompt

- Defined in packages/nexus-agents/src/cli-adapters/types-capability.ts:74

### `Optional` `Readonly` model

model?: string

Preferred model (if any)

- Defined in packages/nexus-agents/src/cli-adapters/types-capability.ts:76

### `Optional` `Readonly` sessionId

sessionId?: string

Session ID for continuation

- Defined in packages/nexus-agents/src/cli-adapters/types-capability.ts:78

### `Optional` `Readonly` maxTokens

maxTokens?: number

Maximum tokens to generate

- Defined in packages/nexus-agents/src/cli-adapters/types-capability.ts:80

### `Optional` `Readonly` timeoutMs

timeoutMs?: number

Timeout in milliseconds

- Defined in packages/nexus-agents/src/cli-adapters/types-capability.ts:82

### `Optional` `Readonly` options

options?: Record<string, unknown>

Additional CLI-specific options

- Defined in packages/nexus-agents/src/cli-adapters/types-capability.ts:84