|
66 | 66 | :description "the file path"}}},
|
67 | 67 | :container {:image "vonwig/bb:latest",
|
68 | 68 | :command ["{{raw|safe}}"
|
69 |
| - "(slurp (:path args))"]}}]} |
| 69 | + "(slurp (:path args))"]}} |
| 70 | + {:name "sqlite", |
| 71 | + :description "run the sqlite command", |
| 72 | + :parameters {:type "object", |
| 73 | + :properties {:database {:type "string", |
| 74 | + :description "the path to the database"}, |
| 75 | + :sql {:type "string", |
| 76 | + :description "the sql statement to run"}}}, |
| 77 | + :container {:image "vonwig/sqlite:latest", |
| 78 | + :command ["{{database}}" "{{sql|safe}}"]}} |
| 79 | + {:name "run-javascript-sandbox", |
| 80 | + :description "execute javascript code", |
| 81 | + :parameters {:type "object", |
| 82 | + :properties {:javascript {:type "string", |
| 83 | + :description "the javascript code to run"}}}, |
| 84 | + :container {:image "vonwig/javascript-runner", |
| 85 | + :command ["{{javascript|safe}}"]}} |
| 86 | + {:name "delete_folder", |
| 87 | + :description "Runs rm -rf on a folder", |
| 88 | + :parameters {:type "object", |
| 89 | + :properties {:path {:type "string", |
| 90 | + :description "Path of the folder to delete"}}}, |
| 91 | + :container {:image "vonwig/bash_alpine", |
| 92 | + :command ["rm -rf {{path|safe}}"]}} |
| 93 | + {:name "cat_file", |
| 94 | + :description "Runs cat on a file", |
| 95 | + :parameters {:type "object", |
| 96 | + :properties {:path {:type "string", |
| 97 | + :description "Path of the folder to delete"}}}, |
| 98 | + :container {:image "vonwig/bash_alpine", |
| 99 | + :command ["cat {{path|safe}}"]}}]} |
0 commit comments