Skip to content

Conversation

@cliffhall
Copy link

@cliffhall cliffhall commented Oct 29, 2025

  • In tools.ts
    • modified EchoSchema
      • made message field nullable with default null (just for testing nullable in a TextArea
      • added numberList field which is a nullable array with default of null
    • in ECHO tool handler,
      • added numberList contents to string that's echoed back

See modelcontextprotocol/inspector#846

Screenshot 2025-10-29 at 2 20 24 PM

…tocol/inspector#846

* In tools.ts
  - modified EchoSchema
    - made message field nullable with default null (just for testing nullable in a TextArea
    - added numberList field which is a nullable array with default of null
  - in ECHO tool handler,
    - added numberList contents to string that's echoed back
@cliffhall cliffhall changed the title For testing nullable arrays in tool inputSchemas. See https://github.… For testing nullable arrays in tool inputSchemas Oct 29, 2025
  - modified EchoSchema
    - removed message field nullable with default null, it was just for testing nullable in a TextArea, not needed for testing the nullable array PR.
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.

1 participant