In an app built with mcp_app(), a tool's argument takes its value from
the input whose id matches the argument's name. Shiny's and bslib's
inputs are found that way on their own. mcp_input() marks anything
else: an element whose id differs from the argument name, or a form
element shinymcp doesn't recognize.
See also
Other components:
mcp_output(),
mcp_plot(),
mcp_select(),
mcp_submit_button()
Examples
mcp_input(htmltools::tags$input(id = "q", type = "search"), id = "query")
#> <input id="q" type="search" data-shinymcp-input="query"/>
