tune-basic-toolset
Version: 
Basic toolset for tune
18 lines (17 loc) • 514 B
JSON
{
  "description": "Apply patches to a specified file based on the given text",
  "parameters": {
    "type": "object",
    "properties": {
      "text": {
        "type": "string",
        "description": "The text containing patches to apply, formated:\n```\n<<<<<<< ORIGINAL\nold code\n=======\nnew code\n>>>>>>> UPDATED\n```"
      },
      "filename": {
        "type": "string",
        "description": "The path to the file that needs to be patched."
      }
    },
    "required": ["text", "filename"]
  }
}