Skip to content

Render nested members in tool descriptions #733

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 2, 2025
Merged

Conversation

rhernandez35
Copy link
Contributor

{
  "jsonrpc": "2.0",
  "result": {
    "tools": [
      {
        "name": "TestOperation",
        "description": "This tool invokes TestOperation API of TestService.A TestOperation",
        "inputSchema": {
          "type": "object",
          "properties": {
            "str": {
              "type": "string",
              "description": "It's a string"
            },
            "nested": {
              "type": "object",
              "properties": {
                "nestedStr": {
                  "type": "string",
                  "description": "A string that's nested"
                }
              },
              "required": [],
              "additionalProperties": false,
              "description": "A structure that can be nested",
              "$schema": "http://json-schema.org/draft-07/schema#"
            }
          },
          "required": [],
          "additionalProperties": false,
          "description": "An input for TestOperation with a nested member",
          "$schema": "http://json-schema.org/draft-07/schema#"
        }
      }
    ]
  },
  "id": 0
}

@rhernandez35 rhernandez35 requested a review from adwsingh June 1, 2025 18:41
@rhernandez35 rhernandez35 enabled auto-merge (rebase) June 1, 2025 19:52
@rhernandez35 rhernandez35 merged commit 41d80cc into main Jun 2, 2025
2 checks passed
@rhernandez35 rhernandez35 deleted the nested-members branch June 2, 2025 00:16
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