31 lines
831 B
Python
31 lines
831 B
Python
|
function_description = [
|
||
|
{
|
||
|
"name": "run_bash",
|
||
|
"description": "Send a string to the Bash interpreter. Sudo commands are not valid.",
|
||
|
"parameters": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"command": {
|
||
|
"type": "string",
|
||
|
"description": "The string to execute in Bash"
|
||
|
}
|
||
|
},
|
||
|
"required": ["command"]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"name": "talk",
|
||
|
"description": "Send a message to the user",
|
||
|
"parameters": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"message": {
|
||
|
"type": "string",
|
||
|
"description": "The message to send"
|
||
|
}
|
||
|
},
|
||
|
"required": ["message"]
|
||
|
}
|
||
|
}
|
||
|
]
|