Skip to content

Commit

Permalink
feat(tool): add cat tool example
Browse files Browse the repository at this point in the history
  • Loading branch information
b4nst committed Aug 18, 2024
1 parent f66fc2a commit cac3c03
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions tools/cat.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"type": "function",
"function": {
"name": "cat",
"description": "Get the content of a file",
"parameters": {
"type": "object",
"properties": {
"file": {
"type": "string",
"description": "The file to read"
}
}
}
},
"cmd": "cat",
"args": [
"{{.file}}"
]
}

0 comments on commit cac3c03

Please sign in to comment.