request-approval
Submit documents or actions for human review by creating approval requests. Automatically displays the relevant file in the dashboard for streamlined decision-making during spec-driven workflows.
Instructions
Request human approval for a document or action. Creates an approval request that appears in the dashboard for user review. CRITICAL: Provide only the filePath parameter (the dashboard reads files directly). Including content in the request will cause approval system errors.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
category | Yes | Category of the approval request - "spec" for specifications | |
categoryName | Yes | Name of the spec this approval is related to | |
filePath | Yes | Path to the file that needs approval (relative to project root). The dashboard will read and display this file. | |
title | Yes | Brief title describing what needs approval | |
type | Yes | Type of approval request - "document" for content approval, "action" for action approval |
Input Schema (JSON Schema)
{
"properties": {
"category": {
"description": "Category of the approval request - \"spec\" for specifications",
"enum": [
"spec"
],
"type": "string"
},
"categoryName": {
"description": "Name of the spec this approval is related to",
"type": "string"
},
"filePath": {
"description": "Path to the file that needs approval (relative to project root). The dashboard will read and display this file.",
"type": "string"
},
"title": {
"description": "Brief title describing what needs approval",
"type": "string"
},
"type": {
"description": "Type of approval request - \"document\" for content approval, \"action\" for action approval",
"enum": [
"document",
"action"
],
"type": "string"
}
},
"required": [
"title",
"filePath",
"type",
"category",
"categoryName"
],
"type": "object"
}