Improve script tool description and add lines iterator to Lua file objects (#26529)

Release Notes:

- N/A

---------

Co-authored-by: Agus Zubiaga <hi@aguz.me>
This commit is contained in:
Antonio Scandurra
2025-03-12 07:58:11 +00:00
committed by GitHub
co-authored by Agus Zubiaga
parent 30afba50a9
commit f3f97895a9
4 changed files with 66 additions and 24 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ pub struct ScriptingTool;
impl ScriptingTool {
pub const NAME: &str = "lua-interpreter";
pub const DESCRIPTION: &str = include_str!("scripting_tool_description.txt");
pub const DESCRIPTION: &str = include_str!("scripting_tool_description.md");
pub fn input_schema() -> serde_json::Value {
let schema = schemars::schema_for!(ScriptingToolInput);