Skip to main content

Chat CLI

Manage chat threads and messages

These commands connect to a running CodeBolt server. All subcommands inherit the global codebolt command options --port <number>, --host <string>, and --json.

Subcommands​

SubcommandDescriptionArgsOptions
listList all chat threads00
messagesGet messages for a thread10
stepsGet steps for a thread10
createCreate a new chat thread00
deleteDelete a chat thread10
clear-memoryClear all threads memory00

list​

List all chat threads

codebolt command chat list

Arguments​

This command takes no positional arguments.

Options​

This command takes no options.

messages​

Get messages for a thread

codebolt command chat messages <threadId>

Arguments​

ArgumentDescription
<threadId>Thread ID

Options​

This command takes no options.

steps​

Get steps for a thread

codebolt command chat steps <threadId>

Arguments​

ArgumentDescription
<threadId>Thread ID

Options​

This command takes no options.

create​

Create a new chat thread

codebolt command chat create

Arguments​

This command takes no positional arguments.

Options​

This command takes no options.

delete​

Delete a chat thread

codebolt command chat delete <threadId>

Arguments​

ArgumentDescription
<threadId>Thread ID

Options​

This command takes no options.

clear-memory​

Clear all threads memory

codebolt command chat clear-memory

Arguments​

This command takes no positional arguments.

Options​

This command takes no options.