Grouping label, or null.
Per-tool timeout override in ms, or null.
What the tool does — what the model reads to decide when to use it.
The definition's primary key.
JSON text of the input JSON Schema, or null when none was authored.
The tool name the model calls.
JSON text of the output JSON Schema, or null.
The structural slice of an
MJ: AI Client Tool Definitionsrow the mappers below read. Declared structurally (rather than importing the entity) so this module stays a pure, client-safe function library;MJAIClientToolDefinitionEntitysatisfies it as-is.