Skip to content

Variable: webFetchResultSchema

const webFetchResultSchema: ZodObject<{ content: ZodString; contentType: ZodOptional<ZodString>; status: ZodNumber; title: ZodOptional<ZodString>; truncated: ZodBoolean; url: ZodString; }, $strip>

Schema for the web_fetch tool output.

  • url: The final URL fetched (after redirects).
  • status: HTTP status code of the response.
  • contentType (optional): Response Content-Type, when the server sent one.
  • title (optional): The page , when one was present.</li> <li><code dir="auto">content</code>: The page content in the requested format (text or html).</li> <li><code dir="auto">truncated</code>: True when <code dir="auto">content</code> was cut off at the length cap.</li> </ul> </div><footer class="sl-flex astro-xhxjzfa7"><div class="meta sl-flex astro-xhxjzfa7"></div><div class="pagination-links print:hidden astro-jgq3vlii" dir="ltr"></div></footer></div></div></main></div></div></div></div></body></html>