Skip to content

docs: Document nullable MCP Tool output schemas - #1141

Open
sweat123 wants to merge 1 commit into
nacos-group:develop-astro-nacosfrom
sweat123:issue-1140-output-schema-nullable
Open

docs: Document nullable MCP Tool output schemas#1141
sweat123 wants to merge 1 commit into
nacos-group:develop-astro-nacosfrom
sweat123:issue-1140-output-schema-nullable

Conversation

@sweat123

@sweat123 sweat123 commented Aug 13, 2026

Copy link
Copy Markdown

What is the purpose of the change

Fixes #1140.

Update the next-version documentation for nullable fields in MCP Tool
outputSchema.

This documents the functionality introduced for
alibaba/nacos#15675 and
implemented by
alibaba/nacos#15698.

Brief changelog

  • Document the Nullable option for MCP Tool output fields.

  • Explain that a nullable string field is saved as:

    {
      "type": ["string", "null"]
    }
    

Follow this checklist to help us incorporate your contribution quickly and easily:

  • Make sure there is a GITHUB_issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
  • Format the pull request title like Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Test your code locally by running npm run build, and make sure it works as expected.
  • Make sure no files under build directory is added.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

@CLAassistant

CLAassistant commented Aug 13, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@sweat123
sweat123 force-pushed the issue-1140-output-schema-nullable branch from 46fe9ee to 19e28d9 Compare August 13, 2026 06:57
@sweat123 sweat123 changed the title [ISSUE #1140] Document nullable MCP Tool output schemas docs: Document nullable MCP Tool output schemas Aug 13, 2026
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.

Document nullable fields in MCP Tool outputSchema

2 participants