Skip to content

[Bug]: Some MCPs cause OpenAI failures with 'uri' is not a valid format #2974

@Alexx999

Description

@Alexx999

Bug Description

Certain MCPs cause the following:

 ERROR: POST https://chatgpt.com/backend-api/codex/responses

Caused by:
    0: 400 POST https://chatgpt.com/backend-api/codex/responses
    1: {
         "error": {
           "message": "Invalid schema for function 'mcp_web-search_tool_fetchcsdnarticle': In context=('properties', 'url'), 'uri' is not a valid format.",
           "type": "invalid_request_error",
           "param": "tools[15].parameters",
           "code": "invalid_function_parameters"
         }
       }

Steps to Reproduce

  1. Install open-websearch@latest
  2. Try any request with e.g. gpt-5-4

Expected Behavior

It works

Actual Behavior

It fails with the above message

Forge Version

2.9.9

Operating System & Version

Win 11

AI Provider

OpenAI

Model

gpt-5-4

Installation Method

Other

Configuration

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions