Simplify run_command tool input args
Problem
As discussed in gitlab-org/gitlab#556137 (comment 2662383502), we should have a simpler input for the run_command tool to reduce the errors of tool routing and input validation.
Desired Outcome
Simplify the run_command
tool input to just program
(string) + args
(string).
Example:
- Bash command:
cp -r -v /home/user/documents /backup/location
- Current:
{"program": "cp", "flags": ["-r", "-v"], "arguments": ["/home/user/documents", "/backup/location"]}
- Proposed:
{"program": "cp", "args": "-r -v /home/user/documents /backup/location"}