tools:
  - name: read_webpage
    description: Extract content from a webpage in a format optimized for LLMs
    inputSchema:
      type: object
      $schema: http://json-schema.org/draft-07/schema#
      required:
        - url
      properties:
        url:
          type: string
        format:
          enum:
            - Default
            - Markdown
            - HTML
            - Text
            - Screenshot
            - Pageshot
          type: string
        no_cache:
          type: boolean
        with_links:
          type: boolean
        with_images:
          type: boolean
        with_generated_alt:
          type: boolean
      additionalProperties: false
  - name: search_web
    description: Search the web using Jina AI's search API
    inputSchema:
      type: object
      $schema: http://json-schema.org/draft-07/schema#
      required:
        - query
      properties:
        count:
          type: number
          default: 5
        query:
          type: string
        retain_images:
          enum:
            - none
            - all
          type: string
          default: none
        return_format:
          enum:
            - markdown
            - text
            - html
          type: string
          default: markdown
        with_generated_alt:
          type: boolean
          default: true
      additionalProperties: false
  - name: fact_check
    description: Fact-check a statement using Jina AI's grounding engine
    inputSchema:
      type: object
      $schema: http://json-schema.org/draft-07/schema#
      required:
        - statement
      properties:
        deepdive:
          type: boolean
          default: false
        statement:
          type: string
      additionalProperties: false
