Skip to content

Accept an object in executeTool() instead of a JSON string - #246

Merged
domfarolino merged 1 commit into
webmachinelearning:mainfrom
beaufortfrancois:execute-tool-input-object
Aug 17, 2026
Merged

Accept an object in executeTool() instead of a JSON string#246
domfarolino merged 1 commit into
webmachinelearning:mainfrom
beaufortfrancois:execute-tool-input-object

Conversation

@beaufortfrancois

@beaufortfrancois beaufortfrancois commented Aug 17, 2026

Copy link
Copy Markdown
Collaborator

Update executeTool() to accept an optional object for input arguments that is automatically serialized to a JSON string by the API, rather than requiring developers to manually call JSON.stringify().

Fixes #243


Preview | Diff

Update executeTool() to accept an optional object for input arguments
that is automatically serialized to a JSON string by the API, rather
than requiring developers to manually call JSON.stringify().

Fixes webmachinelearning#243
@beaufortfrancois
beaufortfrancois force-pushed the execute-tool-input-object branch from 008ad63 to 2ef1069 Compare August 17, 2026 13:02
@domfarolino
domfarolino merged commit a724ab1 into webmachinelearning:main Aug 17, 2026
2 checks passed
github-actions Bot added a commit that referenced this pull request Aug 17, 2026
SHA: a724ab1
Reason: push, by domfarolino

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

The executeTool() method should take an object, not a string

2 participants