From 49d93096d47cc3d22b29418b29d550b11d110d72 Mon Sep 17 00:00:00 2001 From: sinuhet Date: Thu, 20 Mar 2025 02:42:07 +0100 Subject: [PATCH] =?UTF-8?q?P=C5=99idat=20functions/read=5Ffile.json?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- functions/read_file.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 functions/read_file.json diff --git a/functions/read_file.json b/functions/read_file.json new file mode 100644 index 0000000..1b0ffae --- /dev/null +++ b/functions/read_file.json @@ -0,0 +1,18 @@ +{ + "name": "read_file", + "description": "Načte soubor o maximální velikosti 10kB a vrátí jeho obsah (případně zkrácený).", + "strict": true, + "parameters": { + "type": "object", + "required": [ + "path" + ], + "properties": { + "path": { + "type": "string", + "description": "Cesta k souboru, který se má přečíst." + } + }, + "additionalProperties": false + } +} \ No newline at end of file