arno.declare_command
Declare or remove named shell commands in .arno/commands.json so run_command can reuse them in this and later sessions.
Instructions
Declare a named command in .arno/commands.json — a reproduction, a benchmark — to run with run_command in this and later sessions; the file is reviewed like any change. Declaring an existing name replaces it; do not redeclare one just to run it.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "arno.declare_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | No | Shell command to run from the workspace root. | |
| kind | No | Optional: lint or codegen; check with that kind runs it. | |
| name | Yes | Command name: lowercase letters, digits, ':', '_' or '-'. | |
| root | No | Worktree for this call. Default: the one set with workspace, else the start tree. | |
| remove | No | Delete the named command instead of declaring it. | |
| description | No | Optional note on what the command is for. |