revise_script
ActiveTool of com.framesail/framesail
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"
}
}
}Parent server
com.framesail/framesail
1/7 registries