Skip to content

Conversation

@cliffhall
Copy link

See modelcontextprotocol/inspector#889

  • In tools.ts
    • modified AddSchema
      • tests simple primitive refs
      • extracted z.number() to a variable that is referenced for a and b properties
    • modified ComplexOrderSchema
      • tested object refs
      • extracted shipping address properties to address variable
      • referenced address from shippingAddress property
      • added billing address property that references address

Simple primitive refs

Screenshot 2025-10-30 at 10 35 44 AM

Complex object refs

Screenshot 2025-10-30 at 10 42 06 AM Screenshot 2025-10-30 at 10 42 57 AM

See modelcontextprotocol/inspector#889

* In tools.ts
  - modified AddSchema
    - tests simple primitive refs
    - extracted z.number() to a variable that is referenced for a and b properties
  - modified ComplexOrderSchema
    - tested object refs
    - extracted shipping address properties to address variable
    - referenced address from shippingAddress property
    - added billing address property that references address
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