Skip to content

[BUG][API]: GET /tools should not require a request body #2848

@IuliaGaitan

Description

@IuliaGaitan

🐞 Bug Summary

Tested on OCP2 QA environment.
GET on /tools should not have a request body


🧩 Affected Component

Select the area of the project impacted:

  • mcpgateway - API
  • mcpgateway - UI (admin panel)
  • mcpgateway.wrapper - stdio wrapper
  • Federation or Transports
  • CLI, Makefiles, or shell scripts
  • Container setup (Docker/Podman/Compose)
  • Other (explain below)

🔁 Steps to Reproduce

  1. Go to https://ocp2.cloud.boomerangplatform.net/qa/mcp-gateway/service/gateway/docs#/Tools/list_tools_tools__get
  2. Click Try out
  3. Check Request Body

🤔 Results

Request body is present.

{
  "jsonpath": "string",
  "mapping": {
    "additionalProp1": "string",
    "additionalProp2": "string",
    "additionalProp3": "string"
  }
}
Image

🤔 Expected Behavior

GET should not have a request body.


📓 Logs / Error Output

Paste any relevant stack traces or logs here.
⚠️ Do not paste secrets, credentials, or tokens.


🧠 Environment Info

You can retrieve most of this from the /version endpoint.

Key Value
Version or commit 0.128.5
Runtime Python 3.11
Platform / OS Linux 4.18.0-372.64.1.el8_6.x86_64 (x86_64)
Container none

🧩 Additional Context (optional)

Add any configuration details, flags, or related issues.

Metadata

Metadata

Assignees

Labels

MUSTP1: Non-negotiable, critical requirements without which the product is non-functional or unsafeapiREST API Related itembugSomething isn't working

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions