SchemaValues
Show the arguments of a tool call the way its schema describes them, instead of a blob of JSON. Every field keeps its type, required badge and description; nested objects and array items become collapsible rows; optional fields that were not sent read Not set (hideMissing drops them); keys the schema does not mention are listed with an extra badge. Values of fields that read like credentials — token, password, apiKey — are masked behind a reveal button (maskSecrets, isSecret), and long values are truncated at maxValueLength with a "Show more" toggle. From 560px of width it is a table, narrower it becomes stacked rows. flattenSchemaValues returns the rows for custom renderers. For the arguments of a single call, use SchemaValues next to your tool card rather than inside an MCP settings screen, so it lands only in the bundle that needs it.
$pnpm add @sinups/ai-kit @mantine/core @mantine/hooks @tabler/icons-react