screenplay_draft_apply
Apply a reviewed supplied-text draft through native source and permission checks. Only manual draft proposals are accepted.
When to use
- The user has approved the complete supplied draft returned by screenplay_proposal_create or screenplay_proposal_query.
When not to use
- Follow the native Apply action for proposals produced by other writing or revision workflows.
Examples
- “Replace the target's current pages with the approved saved supplied draft.”
Anti-examples
- Apply a rewrite, structural or parent-owned proposal through this tool.
Backend capabilities
screenplay.draft_apply
Input schema
screenplay_draft_apply input
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"project_id": {
"type": "integer"
},
"proposal_id": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"project_id",
"proposal_id"
],
"additionalProperties": false
}Output schema
screenplay_draft_apply output
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"required": [
"project_id",
"proposal_id"
],
"properties": {
"project_id": {
"type": "integer"
},
"proposal_id": {
"type": "string"
},
"next_actions": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
}
},
"additionalProperties": true
}← All toolsv1 · mutate_tool