updateProject
Modify an existing DeepWriter project by updating fields such as title, author, prompts, AI model, and stylistic details using the provided project ID and API key.
Instructions
Update an existing project
Input Schema
Name | Required | Description | Default |
---|---|---|---|
api_key | Yes | The DeepWriter API key for authentication. | |
project_id | Yes | The ID of the project to update. | |
updates | Yes | Object containing fields to update. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"api_key": {
"description": "The DeepWriter API key for authentication.",
"type": "string"
},
"project_id": {
"description": "The ID of the project to update.",
"type": "string"
},
"updates": {
"additionalProperties": false,
"description": "Object containing fields to update.",
"properties": {
"author": {
"description": "Author of the work",
"type": "string"
},
"email": {
"description": "Email associated with the project",
"format": "email",
"type": "string"
},
"model": {
"description": "AI model used",
"type": "string"
},
"outline_text": {
"description": "Outline text",
"type": "string"
},
"prompt": {
"description": "Main prompt for generation",
"type": "string"
},
"style_text": {
"description": "Stylistic guidance text",
"type": "string"
},
"supplemental_info": {
"description": "Supplemental information",
"type": "string"
},
"title": {
"description": "New title for the project",
"type": "string"
},
"work_description": {
"description": "Description of the work",
"type": "string"
},
"work_details": {
"description": "Detailed information about the work",
"type": "string"
},
"work_vision": {
"description": "Vision for the work",
"type": "string"
}
},
"type": "object"
}
},
"required": [
"api_key",
"project_id",
"updates"
],
"type": "object"
}