tinyhumansai/openhuman · warning
missing value for --toolkit
Error message
missing value for --toolkit
What it means
Thrown by parse_dump_flags when `--toolkit`/`-t` is the final token of `openhuman agent dump-prompt`, leaving the Composio toolkit slug unconsumed.
Source
Thrown at src/core/agent_cli.rs:183
json: false,
with_tools: false,
verbose: false,
};
let mut i = 0usize;
while i < args.len() {
match args[i].as_str() {
"--agent" | "-a" => {
out.agent = Some(
args.get(i + 1)
.ok_or_else(|| anyhow!("missing value for --agent"))?
.clone(),
);
i += 2;
}
"--toolkit" | "-t" => {
out.toolkit = Some(
args.get(i + 1)
.ok_or_else(|| anyhow!("missing value for --toolkit"))?
.clone(),
);
i += 2;
}
"--workspace" | "-w" => {
out.workspace = Some(PathBuf::from(
args.get(i + 1)
.ok_or_else(|| anyhow!("missing value for --workspace"))?,
));
i += 2;
}
"--model" | "-m" => {
out.model = Some(
args.get(i + 1)
.ok_or_else(|| anyhow!("missing value for --model"))?
.clone(),
);
i += 2;View on GitHub (pinned to a221052e0d)
Solutions
- Pass a live toolkit slug, e.g. `--toolkit gmail`.
- Run `composio list_connection` to see the active slugs you can pass.
- Only include --toolkit for integrations_agent; other agents do not need it.
Example fix
# before openhuman agent dump-prompt --agent integrations_agent --toolkit # after openhuman agent dump-prompt --agent integrations_agent --toolkit gmail
Defensive patterns
Strategy: validation
Validate before calling
# shell: only add --toolkit when non-empty
CMD=(openhuman agent dump-prompt --agent integrations_agent)
[ -n "${TOOLKIT:-}" ] && CMD+=(--toolkit "$TOOLKIT")
"${CMD[@]}" Try / catch
match run_agent_command(&args) {
Err(e) if e.to_string().contains("missing value for --toolkit") => {
eprintln!("--toolkit takes a slug, e.g. gmail; run composio list_connection");
}
other => other?,
} Prevention
- Discover slugs with `composio list_connection` before scripting.
- --toolkit only matters for integrations_agent; other agents do not take it.
When it happens
Trigger: `openhuman agent dump-prompt --agent integrations_agent --toolkit` as the last token.
Common situations: Appending --toolkit from an empty shell variable, or forgetting the slug after typing the flag.
Related errors
- missing value for --out
- missing value for --workspace
- missing value for --model
- missing value for --agent
- --toolkit <slug> is required when --agent is `integrations_a
AI-assisted analysis of tinyhumansai/openhuman@a221052e0d (2026-08-16).
Data as JSON: /api/errors/cb0eaed9dba2114f.
Report an issue: GitHub.