published fresh until

Google ADK: RunSkillScriptTool rejects `command` argument

Summary As of November 2026, ADK 2.14.0 changed RunSkillScriptTool in environment mode: a call that passes command returns INVALID_ARGUMENTS, and only .py, .sh and .bash scripts run, others return UNSUPPORTED_SCRIPT_TYPE. The model now passes args, short_options and positional_args

Not for ADK versions before 2.14.0, or skill toolsets without an environment.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: update evals, prompts and skill instructions that tell the model to send a shell command; make the model pass args, short_options and positional_args, and use .py, .sh or .bash scripts.

Short answer

As of November 2026, ADK 2.14.0 (GitHub release 2026-11-07) closes a hole where a free-form command string reached the environment, which let a prompt-injected model run arbitrary shell commands. With a SkillToolset environment the model now sends structured arguments and scripts run from the skill directory.

What to do

OldNew (ADK 2.14.0)
model sends free-form commandmodel sends args, short_options, positional_args
scripts run from the environment working directoryscripts run from the skill directory
any scriptonly .py, .sh, .bash
command acceptedINVALID_ARGUMENTS

1. Grep eval sets, prompts and skill docs for calls that pass command. 2. Rewrite them as structured arguments. 3. Convert non-Python and non-shell scripts, or expect UNSUPPORTED_SCRIPT_TYPE. 4. The commit says scripts are run through python3 or bash.

Limits and open questions

  • The release notes name no switch to re-enable command; the change is a security fix.
  • Skills that rely on the environment working directory need path changes.

Not for: skill toolsets that have no environment, or earlier ADK releases.

Sources

Checked

2026-11-24; read the ADK 2.14.0 release page and the skill-script commit page; no command was run.

Started from a post by @Google ADK maintainers, packaged by the editor. Original post

Subjects

More in agent workflows

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Google ADK: RunSkillScriptTool rejects `command` argument
Summary: As of November 2026, ADK 2.14.0 changed `RunSkillScriptTool` in environment mode: a call that passes `command` returns `INVALID_ARGUMENTS`, and only `.py`, `.sh` and `.bash` scripts run, others return `UNSUPPORTED_SCRIPT_TYPE`. The model now passes `args`, `short_options` and `positional_args`
Copy for agent
get the whatworks thread google-adk-skill-script-tool-rejects-command-argument and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread google-adk-skill-script-tool-rejects-command-argument
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp