Skip to content

fix(skilltoolset): align load_skill instruction with schema#1033

Open
KirtiRamchandani wants to merge 1 commit into
google:mainfrom
KirtiRamchandani:fix/skilltoolset-load-skill-param-name-912
Open

fix(skilltoolset): align load_skill instruction with schema#1033
KirtiRamchandani wants to merge 1 commit into
google:mainfrom
KirtiRamchandani:fix/skilltoolset-load-skill-param-name-912

Conversation

@KirtiRamchandani

Copy link
Copy Markdown

Summary

  • Fix the default SkillToolset system instruction to call load_skill with name="<SKILL_NAME>" instead of the incorrect skill_name=
  • Document load_skill_resource parameters explicitly (skill_name + resource_path) so both tools' argument names are clear

Fixes #912

Test plan

  • go test ./tool/skilltoolset/... -count=1
  • Manual: agent with skills loads a skill on first attempt without schema validation retry

/cc @indurireddy-TF

The default system instruction told models to call load_skill with
skill_name=, but LoadSkillArgs expects name=. Update the instruction and
document load_skill_resource parameters explicitly.

Fixes google#912
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SkillToolset default SystemInstruction documents skill_name= for load_skill, but the schema expects name=

1 participant