Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Edison-A-N
Copy link

Describe your changes

Add include_response_info parameter to FastApiMCP and convert_openapi_to_mcp_tools to control whether response information is included in tool descriptions. When set to False, completely removes all response documentation (status codes, examples, schemas) from tool descriptions to reduce context consumption.

Issue ticket number and link (if applicable)

#212

Screenshots of the feature / bugfix

Checklist before requesting a review

  • Added relevant tests
  • Run ruff & mypy
  • All tests pass

@strange0x
Copy link

Good day 😊

@strange0x
Copy link

Nice writing

…tation

Add parameter to disable automatic response info in tool descriptions.
Defaults to True for backward compatibility.
Resolves tadata-org#212
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants