You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The webfetch tool schema exposed to LLMs is missing the required format parameter. When the LLM calls webfetch without specifying format, the tool fails with a validation error.
Error message:
Invalid option: expected one of "text"|"markdown"|"html"
Root cause:
The tool definition in webfetch.ts defines format as a required parameter:
format: z.enum(["text","markdown","html"]).describe("The format to return the content in")
However, the schema exposed to the LLM only includes:
url (required)
timeout (optional)
The format parameter is missing from the schema definition given to the model.
Hi @rekram1-node! I noticed the missing format parameter in the webfetch tool schema. I’d like to fix this by adding it to the definition. May I be assigned to this?
Activity
zeroaddresss commentedon Dec 29, 2025
Also getting this on 1.0.207 on Arch Linux and Ghostty
baeseokjae commentedon Dec 30, 2025
Hi @rekram1-node! I noticed the missing format parameter in the webfetch tool schema. I’d like to fix this by adding it to the definition. May I be assigned to this?
rekram1-node commentedon Dec 31, 2025
someone else made a pr for that, merged it a couple days ago, thanks tho!