{ "name": "prisma", "runtime": "component", "exports": { "run": { "description": "Execute literal Prisma CLI arguments, including version-specific features.", "input": { "type": "object", "properties": { "project": { "type": "string", "default": ".", "minLength": 1, "description": "Working directory containing the source checkout; defaults to the current directory. Default: \".\"." }, "runDir": { "type": "string", "minLength": 1, "description": "Fresh directory for this invocation’s execution report and task logs; must not already exist." }, "executable": { "type": "string", "minLength": 1, "description": "Native CLI executable name or absolute path; defaults to this operation’s tool." }, "timeoutMs": { "type": "integer", "minimum": 1, "default": 900000, "description": "Maximum task duration in milliseconds; defaults to 900000. Default: 900000." }, "artifacts": { "type": "string", "description": "Comma-separated NAME=PATH output artifacts; use CSV double quotes around entries containing commas." }, "arguments": { "type": "string", "minLength": 1, "description": "Additional literal CLI tokens as a comma-separated string. Quote a token containing a comma using CSV quotes." } }, "required": [ "runDir", "arguments" ], "additionalProperties": false }, "output": { "type": "object", "required": [ "outcome", "runDir", "reportPath", "stdoutPath", "stderrPath" ], "properties": { "outcome": { "type": "string" }, "runDir": { "type": "string" }, "reportPath": { "type": "string" }, "stdoutPath": { "type": "string" }, "stderrPath": { "type": "string" } }, "additionalProperties": false } }, "version": { "description": "Print the Prisma CLI and engine versions.", "input": { "type": "object", "properties": { "project": { "type": "string", "default": ".", "minLength": 1, "description": "Working directory containing the source checkout; defaults to the current directory. Default: \".\"." }, "runDir": { "type": "string", "minLength": 1, "description": "Fresh directory for this invocation’s execution report and task logs; must not already exist." }, "executable": { "type": "string", "minLength": 1, "description": "Native CLI executable name or absolute path; defaults to this operation’s tool." }, "timeoutMs": { "type": "integer", "minimum": 1, "default": 900000, "description": "Maximum task duration in milliseconds; defaults to 900000. Default: 900000." }, "artifacts": { "type": "string", "description": "Comma-separated NAME=PATH output artifacts; use CSV double quotes around entries containing commas." } }, "required": [ "runDir" ], "additionalProperties": false }, "output": { "type": "object", "required": [ "outcome", "runDir", "reportPath", "stdoutPath", "stderrPath" ], "properties": { "outcome": { "type": "string" }, "runDir": { "type": "string" }, "reportPath": { "type": "string" }, "stdoutPath": { "type": "string" }, "stderrPath": { "type": "string" } }, "additionalProperties": false } }, "init": { "description": "Initialize a Prisma project; configure the datasource explicitly for unattended jobs.", "input": { "type": "object", "properties": { "project": { "type": "string", "default": ".", "minLength": 1, "description": "Working directory containing the source checkout; defaults to the current directory. Default: \".\"." }, "runDir": { "type": "string", "minLength": 1, "description": "Fresh directory for this invocation’s execution report and task logs; must not already exist." }, "executable": { "type": "string", "minLength": 1, "description": "Native CLI executable name or absolute path; defaults to this operation’s tool." }, "timeoutMs": { "type": "integer", "minimum": 1, "default": 900000, "description": "Maximum task duration in milliseconds; defaults to 900000. Default: 900000." }, "artifacts": { "type": "string", "description": "Comma-separated NAME=PATH output artifacts; use CSV double quotes around entries containing commas." }, "datasourceProvider": { "type": "string", "minLength": 1, "enum": [ "postgresql", "sqlite", "mysql", "sqlserver", "mongodb", "cockroachdb" ], "description": "Database provider for the generated schema. Allowed values: postgresql, sqlite, mysql, sqlserver, mongodb, cockroachdb." }, "generatorProvider": { "type": "string", "minLength": 1, "description": "Generator provider for the initial schema." }, "output": { "type": "string", "minLength": 1, "description": "Output path for generated client code." }, "arguments": { "type": "string", "description": "Additional literal CLI tokens as a comma-separated string. Quote a token containing a comma using CSV quotes." } }, "required": [ "runDir" ], "additionalProperties": false }, "output": { "type": "object", "required": [ "outcome", "runDir", "reportPath", "stdoutPath", "stderrPath" ], "properties": { "outcome": { "type": "string" }, "runDir": { "type": "string" }, "reportPath": { "type": "string" }, "stdoutPath": { "type": "string" }, "stderrPath": { "type": "string" } }, "additionalProperties": false } }, "generate": { "description": "Generate project clients from the Prisma schema without applying migrations.", "input": { "type": "object", "properties": { "project": { "type": "string", "default": ".", "minLength": 1, "description": "Working directory containing the source checkout; defaults to the current directory. Default: \".\"." }, "runDir": { "type": "string", "minLength": 1, "description": "Fresh directory for this invocation’s execution report and task logs; must not already exist." }, "executable": { "type": "string", "minLength": 1, "description": "Native CLI executable name or absolute path; defaults to this operation’s tool." }, "timeoutMs": { "type": "integer", "minimum": 1, "default": 900000, "description": "Maximum task duration in milliseconds; defaults to 900000. Default: 900000." }, "artifacts": { "type": "string", "description": "Comma-separated NAME=PATH output artifacts; use CSV double quotes around entries containing commas." }, "config": { "type": "string", "minLength": 1, "description": "Path to an existing project configuration file; otherwise use native discovery." }, "schema": { "type": "string", "minLength": 1, "description": "Prisma schema file or schema directory; otherwise use project configuration." }, "generators": { "type": "string", "description": "Comma-separated generator names; omitted runs all configured generators." }, "noHints": { "type": "boolean", "description": "Suppress usage hints in CI logs." }, "arguments": { "type": "string", "description": "Additional literal CLI tokens as a comma-separated string. Quote a token containing a comma using CSV quotes." } }, "required": [ "runDir" ], "additionalProperties": false }, "output": { "type": "object", "required": [ "outcome", "runDir", "reportPath", "stdoutPath", "stderrPath" ], "properties": { "outcome": { "type": "string" }, "runDir": { "type": "string" }, "reportPath": { "type": "string" }, "stdoutPath": { "type": "string" }, "stderrPath": { "type": "string" } }, "additionalProperties": false } }, "validate": { "description": "Validate the project Prisma schema.", "input": { "type": "object", "properties": { "project": { "type": "string", "default": ".", "minLength": 1, "description": "Working directory containing the source checkout; defaults to the current directory. Default: \".\"." }, "runDir": { "type": "string", "minLength": 1, "description": "Fresh directory for this invocation’s execution report and task logs; must not already exist." }, "executable": { "type": "string", "minLength": 1, "description": "Native CLI executable name or absolute path; defaults to this operation’s tool." }, "timeoutMs": { "type": "integer", "minimum": 1, "default": 900000, "description": "Maximum task duration in milliseconds; defaults to 900000. Default: 900000." }, "artifacts": { "type": "string", "description": "Comma-separated NAME=PATH output artifacts; use CSV double quotes around entries containing commas." }, "config": { "type": "string", "minLength": 1, "description": "Path to an existing project configuration file; otherwise use native discovery." }, "schema": { "type": "string", "minLength": 1, "description": "Prisma schema file or schema directory; otherwise use project configuration." }, "arguments": { "type": "string", "description": "Additional literal CLI tokens as a comma-separated string. Quote a token containing a comma using CSV quotes." } }, "required": [ "runDir" ], "additionalProperties": false }, "output": { "type": "object", "required": [ "outcome", "runDir", "reportPath", "stdoutPath", "stderrPath" ], "properties": { "outcome": { "type": "string" }, "runDir": { "type": "string" }, "reportPath": { "type": "string" }, "stdoutPath": { "type": "string" }, "stderrPath": { "type": "string" } }, "additionalProperties": false } }, "format": { "description": "Format schemas or fail a formatting check without writing changes.", "input": { "type": "object", "properties": { "project": { "type": "string", "default": ".", "minLength": 1, "description": "Working directory containing the source checkout; defaults to the current directory. Default: \".\"." }, "runDir": { "type": "string", "minLength": 1, "description": "Fresh directory for this invocation’s execution report and task logs; must not already exist." }, "executable": { "type": "string", "minLength": 1, "description": "Native CLI executable name or absolute path; defaults to this operation’s tool." }, "timeoutMs": { "type": "integer", "minimum": 1, "default": 900000, "description": "Maximum task duration in milliseconds; defaults to 900000. Default: 900000." }, "artifacts": { "type": "string", "description": "Comma-separated NAME=PATH output artifacts; use CSV double quotes around entries containing commas." }, "config": { "type": "string", "minLength": 1, "description": "Path to an existing project configuration file; otherwise use native discovery." }, "schema": { "type": "string", "minLength": 1, "description": "Prisma schema file or schema directory; otherwise use project configuration." }, "check": { "type": "boolean", "description": "Fail when schema files need formatting." }, "arguments": { "type": "string", "description": "Additional literal CLI tokens as a comma-separated string. Quote a token containing a comma using CSV quotes." } }, "required": [ "runDir" ], "additionalProperties": false }, "output": { "type": "object", "required": [ "outcome", "runDir", "reportPath", "stdoutPath", "stderrPath" ], "properties": { "outcome": { "type": "string" }, "runDir": { "type": "string" }, "reportPath": { "type": "string" }, "stdoutPath": { "type": "string" }, "stderrPath": { "type": "string" } }, "additionalProperties": false } }, "db_pull": { "description": "Introspect the database; print avoids rewriting the project schema.", "input": { "type": "object", "properties": { "project": { "type": "string", "default": ".", "minLength": 1, "description": "Working directory containing the source checkout; defaults to the current directory. Default: \".\"." }, "runDir": { "type": "string", "minLength": 1, "description": "Fresh directory for this invocation’s execution report and task logs; must not already exist." }, "executable": { "type": "string", "minLength": 1, "description": "Native CLI executable name or absolute path; defaults to this operation’s tool." }, "timeoutMs": { "type": "integer", "minimum": 1, "default": 900000, "description": "Maximum task duration in milliseconds; defaults to 900000. Default: 900000." }, "artifacts": { "type": "string", "description": "Comma-separated NAME=PATH output artifacts; use CSV double quotes around entries containing commas." }, "config": { "type": "string", "minLength": 1, "description": "Path to an existing project configuration file; otherwise use native discovery." }, "schema": { "type": "string", "minLength": 1, "description": "Prisma schema file or schema directory; otherwise use project configuration." }, "print": { "type": "boolean", "description": "Print the introspected schema instead of writing it." }, "force": { "type": "boolean", "description": "Explicitly overwrite manual schema changes." }, "arguments": { "type": "string", "description": "Additional literal CLI tokens as a comma-separated string. Quote a token containing a comma using CSV quotes." } }, "required": [ "runDir" ], "additionalProperties": false }, "output": { "type": "object", "required": [ "outcome", "runDir", "reportPath", "stdoutPath", "stderrPath" ], "properties": { "outcome": { "type": "string" }, "runDir": { "type": "string" }, "reportPath": { "type": "string" }, "stdoutPath": { "type": "string" }, "stderrPath": { "type": "string" } }, "additionalProperties": false } }, "db_push": { "description": "Synchronize schema without migrations; data loss and reset flags are explicit.", "input": { "type": "object", "properties": { "project": { "type": "string", "default": ".", "minLength": 1, "description": "Working directory containing the source checkout; defaults to the current directory. Default: \".\"." }, "runDir": { "type": "string", "minLength": 1, "description": "Fresh directory for this invocation’s execution report and task logs; must not already exist." }, "executable": { "type": "string", "minLength": 1, "description": "Native CLI executable name or absolute path; defaults to this operation’s tool." }, "timeoutMs": { "type": "integer", "minimum": 1, "default": 900000, "description": "Maximum task duration in milliseconds; defaults to 900000. Default: 900000." }, "artifacts": { "type": "string", "description": "Comma-separated NAME=PATH output artifacts; use CSV double quotes around entries containing commas." }, "config": { "type": "string", "minLength": 1, "description": "Path to an existing project configuration file; otherwise use native discovery." }, "schema": { "type": "string", "minLength": 1, "description": "Prisma schema file or schema directory; otherwise use project configuration." }, "acceptDataLoss": { "type": "boolean", "description": "Approve potentially destructive changes." }, "forceReset": { "type": "boolean", "description": "Explicitly reset the database before pushing; destroys data." }, "arguments": { "type": "string", "description": "Additional literal CLI tokens as a comma-separated string. Quote a token containing a comma using CSV quotes." } }, "required": [ "runDir" ], "additionalProperties": false }, "output": { "type": "object", "required": [ "outcome", "runDir", "reportPath", "stdoutPath", "stderrPath" ], "properties": { "outcome": { "type": "string" }, "runDir": { "type": "string" }, "reportPath": { "type": "string" }, "stdoutPath": { "type": "string" }, "stderrPath": { "type": "string" } }, "additionalProperties": false } }, "db_seed": { "description": "Run the project seed command configured in Prisma config.", "input": { "type": "object", "properties": { "project": { "type": "string", "default": ".", "minLength": 1, "description": "Working directory containing the source checkout; defaults to the current directory. Default: \".\"." }, "runDir": { "type": "string", "minLength": 1, "description": "Fresh directory for this invocation’s execution report and task logs; must not already exist." }, "executable": { "type": "string", "minLength": 1, "description": "Native CLI executable name or absolute path; defaults to this operation’s tool." }, "timeoutMs": { "type": "integer", "minimum": 1, "default": 900000, "description": "Maximum task duration in milliseconds; defaults to 900000. Default: 900000." }, "artifacts": { "type": "string", "description": "Comma-separated NAME=PATH output artifacts; use CSV double quotes around entries containing commas." }, "config": { "type": "string", "minLength": 1, "description": "Path to an existing project configuration file; otherwise use native discovery." }, "arguments": { "type": "string", "description": "Additional literal CLI tokens as a comma-separated string. Quote a token containing a comma using CSV quotes." } }, "required": [ "runDir" ], "additionalProperties": false }, "output": { "type": "object", "required": [ "outcome", "runDir", "reportPath", "stdoutPath", "stderrPath" ], "properties": { "outcome": { "type": "string" }, "runDir": { "type": "string" }, "reportPath": { "type": "string" }, "stdoutPath": { "type": "string" }, "stderrPath": { "type": "string" } }, "additionalProperties": false } }, "db_execute": { "description": "Execute an existing SQL script using the configured datasource.", "input": { "type": "object", "properties": { "project": { "type": "string", "default": ".", "minLength": 1, "description": "Working directory containing the source checkout; defaults to the current directory. Default: \".\"." }, "runDir": { "type": "string", "minLength": 1, "description": "Fresh directory for this invocation’s execution report and task logs; must not already exist." }, "executable": { "type": "string", "minLength": 1, "description": "Native CLI executable name or absolute path; defaults to this operation’s tool." }, "timeoutMs": { "type": "integer", "minimum": 1, "default": 900000, "description": "Maximum task duration in milliseconds; defaults to 900000. Default: 900000." }, "artifacts": { "type": "string", "description": "Comma-separated NAME=PATH output artifacts; use CSV double quotes around entries containing commas." }, "config": { "type": "string", "minLength": 1, "description": "Path to an existing project configuration file; otherwise use native discovery." }, "file": { "type": "string", "minLength": 1, "description": "Existing SQL script to execute." }, "arguments": { "type": "string", "description": "Additional literal CLI tokens as a comma-separated string. Quote a token containing a comma using CSV quotes." } }, "required": [ "runDir", "file" ], "additionalProperties": false }, "output": { "type": "object", "required": [ "outcome", "runDir", "reportPath", "stdoutPath", "stderrPath" ], "properties": { "outcome": { "type": "string" }, "runDir": { "type": "string" }, "reportPath": { "type": "string" }, "stdoutPath": { "type": "string" }, "stderrPath": { "type": "string" } }, "additionalProperties": false } }, "migrate_deploy": { "description": "Apply pending committed migrations noninteractively in deployment pipelines.", "input": { "type": "object", "properties": { "project": { "type": "string", "default": ".", "minLength": 1, "description": "Working directory containing the source checkout; defaults to the current directory. Default: \".\"." }, "runDir": { "type": "string", "minLength": 1, "description": "Fresh directory for this invocation’s execution report and task logs; must not already exist." }, "executable": { "type": "string", "minLength": 1, "description": "Native CLI executable name or absolute path; defaults to this operation’s tool." }, "timeoutMs": { "type": "integer", "minimum": 1, "default": 900000, "description": "Maximum task duration in milliseconds; defaults to 900000. Default: 900000." }, "artifacts": { "type": "string", "description": "Comma-separated NAME=PATH output artifacts; use CSV double quotes around entries containing commas." }, "config": { "type": "string", "minLength": 1, "description": "Path to an existing project configuration file; otherwise use native discovery." }, "schema": { "type": "string", "minLength": 1, "description": "Prisma schema file or schema directory; otherwise use project configuration." }, "arguments": { "type": "string", "description": "Additional literal CLI tokens as a comma-separated string. Quote a token containing a comma using CSV quotes." } }, "required": [ "runDir" ], "additionalProperties": false }, "output": { "type": "object", "required": [ "outcome", "runDir", "reportPath", "stdoutPath", "stderrPath" ], "properties": { "outcome": { "type": "string" }, "runDir": { "type": "string" }, "reportPath": { "type": "string" }, "stdoutPath": { "type": "string" }, "stderrPath": { "type": "string" } }, "additionalProperties": false } }, "migrate_status": { "description": "Report migration status; propagate divergence and pending-migration failures.", "input": { "type": "object", "properties": { "project": { "type": "string", "default": ".", "minLength": 1, "description": "Working directory containing the source checkout; defaults to the current directory. Default: \".\"." }, "runDir": { "type": "string", "minLength": 1, "description": "Fresh directory for this invocation’s execution report and task logs; must not already exist." }, "executable": { "type": "string", "minLength": 1, "description": "Native CLI executable name or absolute path; defaults to this operation’s tool." }, "timeoutMs": { "type": "integer", "minimum": 1, "default": 900000, "description": "Maximum task duration in milliseconds; defaults to 900000. Default: 900000." }, "artifacts": { "type": "string", "description": "Comma-separated NAME=PATH output artifacts; use CSV double quotes around entries containing commas." }, "config": { "type": "string", "minLength": 1, "description": "Path to an existing project configuration file; otherwise use native discovery." }, "schema": { "type": "string", "minLength": 1, "description": "Prisma schema file or schema directory; otherwise use project configuration." }, "arguments": { "type": "string", "description": "Additional literal CLI tokens as a comma-separated string. Quote a token containing a comma using CSV quotes." } }, "required": [ "runDir" ], "additionalProperties": false }, "output": { "type": "object", "required": [ "outcome", "runDir", "reportPath", "stdoutPath", "stderrPath" ], "properties": { "outcome": { "type": "string" }, "runDir": { "type": "string" }, "reportPath": { "type": "string" }, "stdoutPath": { "type": "string" }, "stderrPath": { "type": "string" } }, "additionalProperties": false } }, "migrate_dev": { "description": "Create and apply development migrations; use migrate-deploy for production.", "input": { "type": "object", "properties": { "project": { "type": "string", "default": ".", "minLength": 1, "description": "Working directory containing the source checkout; defaults to the current directory. Default: \".\"." }, "runDir": { "type": "string", "minLength": 1, "description": "Fresh directory for this invocation’s execution report and task logs; must not already exist." }, "executable": { "type": "string", "minLength": 1, "description": "Native CLI executable name or absolute path; defaults to this operation’s tool." }, "timeoutMs": { "type": "integer", "minimum": 1, "default": 900000, "description": "Maximum task duration in milliseconds; defaults to 900000. Default: 900000." }, "artifacts": { "type": "string", "description": "Comma-separated NAME=PATH output artifacts; use CSV double quotes around entries containing commas." }, "config": { "type": "string", "minLength": 1, "description": "Path to an existing project configuration file; otherwise use native discovery." }, "schema": { "type": "string", "minLength": 1, "description": "Prisma schema file or schema directory; otherwise use project configuration." }, "name": { "type": "string", "minLength": 1, "description": "Name for a new migration." }, "createOnly": { "type": "boolean", "description": "Create a migration without applying it." }, "arguments": { "type": "string", "description": "Additional literal CLI tokens as a comma-separated string. Quote a token containing a comma using CSV quotes." } }, "required": [ "runDir" ], "additionalProperties": false }, "output": { "type": "object", "required": [ "outcome", "runDir", "reportPath", "stdoutPath", "stderrPath" ], "properties": { "outcome": { "type": "string" }, "runDir": { "type": "string" }, "reportPath": { "type": "string" }, "stdoutPath": { "type": "string" }, "stderrPath": { "type": "string" } }, "additionalProperties": false } }, "migrate_reset": { "description": "Reset a disposable development database; destructive confirmation is explicit.", "input": { "type": "object", "properties": { "project": { "type": "string", "default": ".", "minLength": 1, "description": "Working directory containing the source checkout; defaults to the current directory. Default: \".\"." }, "runDir": { "type": "string", "minLength": 1, "description": "Fresh directory for this invocation’s execution report and task logs; must not already exist." }, "executable": { "type": "string", "minLength": 1, "description": "Native CLI executable name or absolute path; defaults to this operation’s tool." }, "timeoutMs": { "type": "integer", "minimum": 1, "default": 900000, "description": "Maximum task duration in milliseconds; defaults to 900000. Default: 900000." }, "artifacts": { "type": "string", "description": "Comma-separated NAME=PATH output artifacts; use CSV double quotes around entries containing commas." }, "config": { "type": "string", "minLength": 1, "description": "Path to an existing project configuration file; otherwise use native discovery." }, "schema": { "type": "string", "minLength": 1, "description": "Prisma schema file or schema directory; otherwise use project configuration." }, "force": { "type": "boolean", "description": "Explicitly skip reset confirmation; destroys all database data." }, "arguments": { "type": "string", "description": "Additional literal CLI tokens as a comma-separated string. Quote a token containing a comma using CSV quotes." } }, "required": [ "runDir" ], "additionalProperties": false }, "output": { "type": "object", "required": [ "outcome", "runDir", "reportPath", "stdoutPath", "stderrPath" ], "properties": { "outcome": { "type": "string" }, "runDir": { "type": "string" }, "reportPath": { "type": "string" }, "stdoutPath": { "type": "string" }, "stderrPath": { "type": "string" } }, "additionalProperties": false } }, "migrate_resolve": { "description": "Record a migration as applied or rolled back; choose exactly one in Prisma.", "input": { "type": "object", "properties": { "project": { "type": "string", "default": ".", "minLength": 1, "description": "Working directory containing the source checkout; defaults to the current directory. Default: \".\"." }, "runDir": { "type": "string", "minLength": 1, "description": "Fresh directory for this invocation’s execution report and task logs; must not already exist." }, "executable": { "type": "string", "minLength": 1, "description": "Native CLI executable name or absolute path; defaults to this operation’s tool." }, "timeoutMs": { "type": "integer", "minimum": 1, "default": 900000, "description": "Maximum task duration in milliseconds; defaults to 900000. Default: 900000." }, "artifacts": { "type": "string", "description": "Comma-separated NAME=PATH output artifacts; use CSV double quotes around entries containing commas." }, "config": { "type": "string", "minLength": 1, "description": "Path to an existing project configuration file; otherwise use native discovery." }, "schema": { "type": "string", "minLength": 1, "description": "Prisma schema file or schema directory; otherwise use project configuration." }, "applied": { "type": "string", "minLength": 1, "description": "Migration directory name to mark as applied." }, "rolledBack": { "type": "string", "minLength": 1, "description": "Migration directory name to mark as rolled back." }, "arguments": { "type": "string", "description": "Additional literal CLI tokens as a comma-separated string. Quote a token containing a comma using CSV quotes." } }, "required": [ "runDir" ], "additionalProperties": false }, "output": { "type": "object", "required": [ "outcome", "runDir", "reportPath", "stdoutPath", "stderrPath" ], "properties": { "outcome": { "type": "string" }, "runDir": { "type": "string" }, "reportPath": { "type": "string" }, "stdoutPath": { "type": "string" }, "stderrPath": { "type": "string" } }, "additionalProperties": false } }, "migrate_diff": { "description": "Compare schema sources; native Prisma requires exactly one from and one to source.", "input": { "type": "object", "properties": { "project": { "type": "string", "default": ".", "minLength": 1, "description": "Working directory containing the source checkout; defaults to the current directory. Default: \".\"." }, "runDir": { "type": "string", "minLength": 1, "description": "Fresh directory for this invocation’s execution report and task logs; must not already exist." }, "executable": { "type": "string", "minLength": 1, "description": "Native CLI executable name or absolute path; defaults to this operation’s tool." }, "timeoutMs": { "type": "integer", "minimum": 1, "default": 900000, "description": "Maximum task duration in milliseconds; defaults to 900000. Default: 900000." }, "artifacts": { "type": "string", "description": "Comma-separated NAME=PATH output artifacts; use CSV double quotes around entries containing commas." }, "config": { "type": "string", "minLength": 1, "description": "Path to an existing project configuration file; otherwise use native discovery." }, "fromEmpty": { "type": "boolean", "description": "Compare from an empty schema." }, "fromSchema": { "type": "string", "minLength": 1, "description": "Existing source Prisma schema file." }, "fromMigrations": { "type": "string", "minLength": 1, "description": "Existing source migrations directory." }, "fromConfigDatasource": { "type": "boolean", "description": "Use the configured database as the source." }, "toEmpty": { "type": "boolean", "description": "Compare to an empty schema." }, "toSchema": { "type": "string", "minLength": 1, "description": "Existing target Prisma schema file." }, "toMigrations": { "type": "string", "minLength": 1, "description": "Existing target migrations directory." }, "toConfigDatasource": { "type": "boolean", "description": "Use the configured database as the target." }, "script": { "type": "boolean", "description": "Print SQL instead of a human-readable summary." }, "exitCode": { "type": "boolean", "description": "Fail on nonempty differences (native exit code 2)." }, "output": { "type": "string", "minLength": 1, "description": "Write the diff to this output file." }, "arguments": { "type": "string", "description": "Additional literal CLI tokens as a comma-separated string. Quote a token containing a comma using CSV quotes." } }, "required": [ "runDir" ], "additionalProperties": false }, "output": { "type": "object", "required": [ "outcome", "runDir", "reportPath", "stdoutPath", "stderrPath" ], "properties": { "outcome": { "type": "string" }, "runDir": { "type": "string" }, "reportPath": { "type": "string" }, "stdoutPath": { "type": "string" }, "stderrPath": { "type": "string" } }, "additionalProperties": false } }, "debug": { "description": "Print Prisma diagnostic information for troubleshooting.", "input": { "type": "object", "properties": { "project": { "type": "string", "default": ".", "minLength": 1, "description": "Working directory containing the source checkout; defaults to the current directory. Default: \".\"." }, "runDir": { "type": "string", "minLength": 1, "description": "Fresh directory for this invocation’s execution report and task logs; must not already exist." }, "executable": { "type": "string", "minLength": 1, "description": "Native CLI executable name or absolute path; defaults to this operation’s tool." }, "timeoutMs": { "type": "integer", "minimum": 1, "default": 900000, "description": "Maximum task duration in milliseconds; defaults to 900000. Default: 900000." }, "artifacts": { "type": "string", "description": "Comma-separated NAME=PATH output artifacts; use CSV double quotes around entries containing commas." }, "config": { "type": "string", "minLength": 1, "description": "Path to an existing project configuration file; otherwise use native discovery." }, "schema": { "type": "string", "minLength": 1, "description": "Prisma schema file or schema directory; otherwise use project configuration." }, "arguments": { "type": "string", "description": "Additional literal CLI tokens as a comma-separated string. Quote a token containing a comma using CSV quotes." } }, "required": [ "runDir" ], "additionalProperties": false }, "output": { "type": "object", "required": [ "outcome", "runDir", "reportPath", "stdoutPath", "stderrPath" ], "properties": { "outcome": { "type": "string" }, "runDir": { "type": "string" }, "reportPath": { "type": "string" }, "stdoutPath": { "type": "string" }, "stderrPath": { "type": "string" } }, "additionalProperties": false } }, "studio": { "description": "Run the long-lived Studio server within a scoped service lifecycle.", "input": { "type": "object", "properties": { "project": { "type": "string", "default": ".", "minLength": 1, "description": "Working directory containing the source checkout; defaults to the current directory. Default: \".\"." }, "runDir": { "type": "string", "minLength": 1, "description": "Fresh directory for this invocation’s execution report and task logs; must not already exist." }, "executable": { "type": "string", "minLength": 1, "description": "Native CLI executable name or absolute path; defaults to this operation’s tool." }, "timeoutMs": { "type": "integer", "minimum": 1, "default": 900000, "description": "Maximum task duration in milliseconds; defaults to 900000. Default: 900000." }, "artifacts": { "type": "string", "description": "Comma-separated NAME=PATH output artifacts; use CSV double quotes around entries containing commas." }, "config": { "type": "string", "minLength": 1, "description": "Path to an existing project configuration file; otherwise use native discovery." }, "port": { "type": "integer", "minimum": 1, "description": "Studio listening port." }, "browser": { "type": "string", "minLength": 1, "description": "Browser to launch; use none on a headless runner." }, "arguments": { "type": "string", "description": "Additional literal CLI tokens as a comma-separated string. Quote a token containing a comma using CSV quotes." } }, "required": [ "runDir" ], "additionalProperties": false }, "output": { "type": "object", "required": [ "outcome", "runDir", "reportPath", "stdoutPath", "stderrPath" ], "properties": { "outcome": { "type": "string" }, "runDir": { "type": "string" }, "reportPath": { "type": "string" }, "stdoutPath": { "type": "string" }, "stderrPath": { "type": "string" } }, "additionalProperties": false } } } }