Skip to content

Agent commands: update, delete

The Agent Verbs update, delete as CLI commands, with inputs, result, refusals and an example.

Reference for Agent, one group of Agent commands.

Agent.update

Changes the given properties of an Agent. Verb page.

Text
npx startup-builder do Agent.update --json '<input>' [--try | --send | --do]

Emits Agent.updated.

Inputs

InputTypeRequiredDescription
idstringrequiredThe id of the Agent.
instructionstextWhat the Agent does and how.
modelstringThe model the Agent runs on.
toolsstring[]The tools the Agent may call.
skillslist of SkillThe Skills it loads.
memorystringOne of tenant (one Memory per Customer Tenant) or startup (one Memory for the Startup).
maxStepsintegerThe most steps one Task may take.
budgetmoneyThe most one Task may spend; the Mandate’s Limits apply as well.
handoffslist of RoleThe Roles it hands work to.

Returns

OutputTypeRequiredDescription
agentAgentrequiredThe Agent.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.None.

Example

Terminal
npx startup-builder do Agent.update --json '{"id":"agent_tCzKDMorKn","skills":["skill_xBqG4zTxBA"]}'

Agent.delete

Deletes an Agent: a soft delete that keeps its history, undone by Thing.restore. Verb page.

Text
npx startup-builder do Agent.delete --json '<input>' [--try | --send | --do]

Emits Agent.deleted.

Inputs

InputTypeRequiredDescription
idstringrequiredThe id of the Agent.

Returns

OutputTypeRequiredDescription
agentAgentrequiredThe Agent.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.None.

Example

Terminal
npx startup-builder do Agent.delete --json '{"id":"agent_tCzKDMorKn"}'