e.g.
{
"type": "function",
"function": {
"name": "terminal_last_command",
"description": "Get the last command run in the active terminal."
}
},
{
"type": "function",
"function": {
"name": "terminal_selection",
"description": "Get the current selection in the active terminal."
}
}