-
Notifications
You must be signed in to change notification settings - Fork 276
Closed
Labels
good first issueGood for newcomersGood for newcomerskind/bugSomething isn't workingSomething isn't working
Description
Describe the bug
If a tool has no arguments, cagent cannot call it. I just get a cryptic error
Version affected
v1.7.3
How To Reproduce
Detailed steps to reproduce the behavior:
agent.yaml
#!/usr/bin/env cagent run
version: "2"
agents:
root:
model: claude
description: "tool runner"
instruction: "you run tools to help repro bugs"
toolsets:
- type: script
shell:
checkout_repo:
cmd: "echo hello world"
description: "checkout a repo and get the message inside"
models:
claude:
provider: anthropic
model: claude-haiku-4-5
max_tokens: 64000
Run the agent and ask it to run the tool. you will get an error. see screenshot
Expectation
cagent should call the tool
Screenshots
OS and Terminal type
alacritty / linux
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomerskind/bugSomething isn't workingSomething isn't working