Define a constant
To define a constant that your tool will access, you have to prefix a property with an underscore_
in your input schema.
_WEATHER_API_KEY
is a constant that will be provided by the developer and the city
is the city name that the LLM will provide.
How constants are passed to the tool
Constants are passed to the tool when the developer initializes themcplug
client or by setting them in the plug dashboard.
In the code
With a MCP host