chainabit agents update
Published (2.2.0)
This command is not included in Published (2.2.0). It is available in Development (2.2.0).
Development (2.2.0)
Update a cloud agent
Synopsis
chainabit agents update <id> [options]Arguments
| Argument | Description | Default |
|---|---|---|
<id> | Required. | — |
Options
| Option | Description | Default |
|---|---|---|
--name <name> | Name | — |
--description <text> | About | — |
--system-prompt <text> | Instructions | — |
--yes | Confirm this change | — |
Options shared by every command are described in Global options and shared behavior.
Behavior
Changes the name (--name), description (--description) or instructions (--system-prompt) of the cloud agent with the given ID. Pass at least one of --name, --description and --system-prompt; with none, the command refuses before asking for confirmation. Only the fields you pass are changed. It works in the selected cloud workspace; if none is selected, the command stops and asks you to choose one first (see chainabit workspace use).
This command changes data, so it asks you to confirm in an interactive terminal. Pass --yes to confirm without a prompt. With --json, or when input or output is redirected, there is no prompt: without --yes the command changes nothing, tells you to add --yes and exits with code 2.
Output
Prints the updated agent: its ID, its name and the fields you changed. With --json, the output contains id, name, location (always cloud), description and systemPrompt.
Authentication and permissions
You must be signed in. The server decides whether your account may make this change; if it refuses, the command prints the error, exits with a non-zero code and changes nothing. If the connected API does not support the operation yet, the command stops before sending anything.
Examples
chainabit agents update 00000000-0000-4000-8000-000000000001 --name "Notes assistant" --yes
chainabit agents update 00000000-0000-4000-8000-000000000001 --description "Keeps weekly notes" --yes