| 1 | # auto (from_token_zero) |
| 2 | sequence |
| 3 | tag `` text `</think>` |
| 4 | triggered_tags [`<|DSML|function_calls>`] excluding [`<think>`, `</think>`] |
| 5 | tag `<|DSML|function_calls>\n` .. `</|DSML|function_calls>` |
| 6 | tags_with_separator `` at_least_one |
| 7 | tag `<|DSML|invoke name="get_weather">\n` deepseek_xml({ location: string }) `</|DSML|invoke>\n` |
| 8 | tag `<|DSML|invoke name="add">\n` deepseek_xml({ y: number, x: number, items: string[] }) `</|DSML|invoke>\n` |
| 9 | |
| 10 | # required (from_token_zero) |
| 11 | sequence |
| 12 | tag `` text `</think>` |
| 13 | sequence |
| 14 | `\n\n<|DSML|function_calls>\n` |
| 15 | tags_with_separator `` at_least_one |
| 16 | tag `<|DSML|invoke name="get_weather">\n` deepseek_xml({ location: string }) `</|DSML|invoke>\n` |
| 17 | tag `<|DSML|invoke name="add">\n` deepseek_xml({ y: number, x: number, items: string[] }) `</|DSML|invoke>\n` |
| 18 | `</|DSML|function_calls>` |
| 19 | |
| 20 | # named (from_token_zero) |
| 21 | sequence |
| 22 | tag `` text `</think>` |
| 23 | sequence |
| 24 | `\n\n<|DSML|function_calls>\n` |
| 25 | tag `<|DSML|invoke name="get_weather">\n` deepseek_xml({ location: string }) `</|DSML|invoke>\n` |
| 26 | `</|DSML|function_calls>` |