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 08:58:11 +01:00 committed by GitHub
parent 30afba50a9
commit f3f97895a9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 66 additions and 24 deletions

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);