You're viewing a demo portfolio

Join the waitlist
PRSM

revise_script

Active

Tool of com.framesail/framesail

declared in 1.27.2

AI-rewrite a passage of the active script in the project's narrative voice (the same in-editor revise the UI offers). selected_text must appear verbatim in the script; omit it to revise the whole script. Synchronous — returns {revised_text}, which is NOT saved: splice it over selected_text (or replace the full script) and call save_script to keep it.

Parameters schema

{
  "type": "object",
  "title": "revise_scriptArguments",
  "required": [
    "project_id",
    "instruction"
  ],
  "properties": {
    "project_id": {
      "type": "string",
      "title": "Project Id",
      "description": "Project ID, as returned by create_project or list_projects"
    },
    "instruction": {
      "type": "string",
      "title": "Instruction",
      "description": "Natural-language edit instruction, e.g. \"make the intro punchier\""
    },
    "selected_text": {
      "type": "string",
      "title": "Selected Text",
      "default": "",
      "description": "Exact passage to rewrite; must appear verbatim in the active script. Omit to revise the whole script"
    }
  }
}

What this tool wraps· 1 endpoint

min confidence0.700.50

Parent server

com.framesail/framesail

1/7 registries
View full server →