The tool output dictionary (mutated in-place to strip scheduling keys).
The name of the tool being executed, for logging context.
Optional logging tag prefix (defaults to 'Realtime').
The normalized scheduling hint, or undefined if absent or unrecognized.
Extracts and normalizes scheduling hints (
__mj_schedulingor legacyscheduling) from a tool's parsed return dictionary.Strips both keys from
parsedin-place so neither key leaks into the model's response payload. Validates the value case-insensitively, accepting:Warns on unrecognized values with
loggerTagand returnsundefined.