Skip to content

refactor(tool): migrate Download/WebFetch/FileWrite/FileEdit to typed schemas - #322

Merged
Patel230 merged 1 commit into
mainfrom
fix/tool-schema-batch2
Sep 16, 2026
Merged

Patel230 merged 1 commit into
mainfrom
fix/tool-schema-batch2

Conversation

@Patel230

Copy link
Copy Markdown
Contributor

Follow-up to #320/#321 (typed tool schemas).

Migrates Download, WebFetch, FileWrite, FileEdit to the Schema() + Parameters() single-source pattern with wire-shape parity tests — including alias-marker preservation for file_path/old_str/new_str, which the input validator discovers from descriptions. Execute parses via DecodeInput[T].

Note: tried committing straight to main per request, but branch protection declined the push — hence the PR.

Verified: go vet, golangci-lint (0 issues), full go test ./... (142 ok, 0 FAIL) locally.

… schemas

Follow the Schema()+Parameters() single-source pattern with wire-shape
parity tests (including alias-marker preservation for file_path/old_str/
new_str, which the input validator discovers from descriptions). Execute
parses via DecodeInput[T].
@Patel230
Patel230 merged commit 7b78465 into main Sep 16, 2026
25 checks passed
@Patel230
Patel230 deleted the fix/tool-schema-batch2 branch September 16, 2026 01:40
Patel230 added a commit that referenced this pull request Oct 2, 2026
… schemas (#322)

Follow the Schema()+Parameters() single-source pattern with wire-shape
parity tests (including alias-marker preservation for file_path/old_str/
new_str, which the input validator discovers from descriptions). Execute
parses via DecodeInput[T].
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.

1 participant