Skip to main content
Replaces the tool: its name, scope, inputs, description, grading hints and runtime. A field left out is cleared, so omitting agentId makes the tool project-wide. A change declares a new version; agent versions pinned to an older one keep it.
Calls PUT /v1/tool/{toolId}

Arguments

string
required
The tool-id.

Options

string
required
string
required
When the agent should use the tool.
string
array
string
string
object
Omit or null for a tool that is only graded.
object
required
switch
array
Repeatable.
object

Example

Every command also takes the global options and sets one of the exit codes.