Structured tool argument extraction converts free-form user intent into validated JSON specifying a tool name and typed parameters. In an agent workflow, confirmed tool executions and schema-valid outputs provide examples for specializing a smaller model. section 12.2
A specialization workflow:
- Sample agent requests, redact or hash sensitive inputs before storing them, then filter for schema validity and confirmed downstream execution. section 12.2
- Split the resulting pairs into training and held-out evaluation sets; use the task data to guide depth pruning, hardware-aligned width pruning, and selective attention removal. section 12.2 section 12.3
- Recover capability with sequence-level distillation on the teacher’s hard completions; check provider terms before training on API outputs. section 12.3
{"input": "Book a table for two tomorrow at 8 pm",
"target": {"tool_name": "book_table",
"parameters": {"party_size": 2, "time": "20:00"}},
"confirmed": true}A table-booking request is paired with a confirmed tool name and typed parameters, including party size and time. section 12.2
