Build the tool definition for an entry.
Catalog entry.
Prefix, description override and input aliases.
The definition.
The input schema is the merged params/query/body object converted in output mode (the parsed shape tools pass), with aliased fields renamed and $schema removed.
params
query
body
$schema
Error for an invalid tool name or invalid aliases.
Build the tool definition for an entry.