inspector icon indicating copy to clipboard operation
inspector copied to clipboard

Add tool params description show

Open jokemanfire opened this issue 8 months ago • 6 comments

Is your feature request related to a problem? Please describe. When I use this tool ,I want to see the param's description of the tools in web view.

Describe the solution you'd like Add an expandable frontend box to display params in the tool tab

Describe alternatives you've considered No

Additional context No

jokemanfire avatar May 08 '25 03:05 jokemanfire

Hi @jokemanfire , the Inspector does show tool descriptions in the Tools tab, could you explain more about exactly what you'd like to add?

olaservo avatar May 11 '25 13:05 olaservo

if it option in rust-sdk, Image there's no description Image

jokemanfire avatar May 12 '25 03:05 jokemanfire

Image I think json will not show.

jokemanfire avatar May 12 '25 03:05 jokemanfire

I want to file a pr to fix it.

jokemanfire avatar May 12 '25 03:05 jokemanfire

I see, so it looks like the optional parameter description isn't showing in the form, right?

olaservo avatar May 12 '25 04:05 olaservo

Yes , This is how optional parameters are passed when use rust-sdk such as timeout is optional timeout:

{
description:"Optional timeout in seconds for container stop (default: 0)"
format:"int64"
type:[
   0:"integer"
   1:"null"
]
}

I think I should resolve the rust-sdk's problem first.

jokemanfire avatar May 12 '25 04:05 jokemanfire

Closing as not planned and labeling with v2 in case we want to review for next version.

olaservo avatar Nov 11 '25 03:11 olaservo