ntl-project-operations
Manage Netlify projects by retrieving, updating, or creating data, including visitor access controls, forms, environment variables, and project details, through structured operations.
Instructions
Run one of the following operations get-project, get-projects, update-visitor-access-controls, update-forms, get-forms-for-project, manage-form-submissions, update-project-name, manage-env-vars, create-new-project
Input Schema
Name | Required | Description | Default |
---|---|---|---|
selectSchema | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"selectSchema": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"aiAgentName": {
"type": "string"
},
"llmModelName": {
"type": "string"
},
"operation": {
"const": "get-project",
"type": "string"
},
"params": {
"additionalProperties": false,
"properties": {
"siteId": {
"type": "string"
}
},
"required": [
"siteId"
],
"type": "object"
}
},
"required": [
"operation",
"params"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"aiAgentName": {
"type": "string"
},
"llmModelName": {
"type": "string"
},
"operation": {
"const": "get-projects",
"type": "string"
},
"params": {
"additionalProperties": false,
"properties": {
"projectNameSearchValue": {
"description": "Search for a project by partial name match",
"type": "string"
},
"teamSlug": {
"type": "string"
}
},
"type": "object"
}
},
"required": [
"operation",
"params"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"aiAgentName": {
"type": "string"
},
"llmModelName": {
"type": "string"
},
"operation": {
"const": "update-visitor-access-controls",
"type": "string"
},
"params": {
"additionalProperties": false,
"properties": {
"appliesTo": {
"description": "Which project context this rule applies to",
"enum": [
"all-projects",
"non-production-projects"
],
"type": "string"
},
"passwordValue": {
"type": "string"
},
"requirePassword": {
"type": "boolean"
},
"requireSSOTeamLogin": {
"type": "boolean"
},
"siteId": {
"type": "string"
}
},
"required": [
"siteId",
"appliesTo"
],
"type": "object"
}
},
"required": [
"operation",
"params"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"aiAgentName": {
"type": "string"
},
"llmModelName": {
"type": "string"
},
"operation": {
"const": "update-forms",
"type": "string"
},
"params": {
"additionalProperties": false,
"properties": {
"forms": {
"enum": [
"enabled",
"disabled"
],
"type": "string"
},
"siteId": {
"type": "string"
}
},
"required": [
"siteId"
],
"type": "object"
}
},
"required": [
"operation",
"params"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"aiAgentName": {
"type": "string"
},
"llmModelName": {
"type": "string"
},
"operation": {
"const": "get-forms-for-project",
"type": "string"
},
"params": {
"additionalProperties": false,
"properties": {
"formId": {
"type": "string"
},
"siteId": {
"type": "string"
}
},
"required": [
"siteId"
],
"type": "object"
}
},
"required": [
"operation",
"params"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"aiAgentName": {
"type": "string"
},
"llmModelName": {
"type": "string"
},
"operation": {
"const": "manage-form-submissions",
"type": "string"
},
"params": {
"additionalProperties": false,
"properties": {
"action": {
"enum": [
"get-submissions",
"delete-submission"
],
"type": "string"
},
"formId": {
"type": "string"
},
"limit": {
"default": 20,
"type": "number"
},
"offset": {
"default": 0,
"type": "number"
},
"siteId": {
"type": "string"
},
"submissionId": {
"type": "string"
}
},
"required": [
"action"
],
"type": "object"
}
},
"required": [
"operation",
"params"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"aiAgentName": {
"type": "string"
},
"llmModelName": {
"type": "string"
},
"operation": {
"const": "update-project-name",
"type": "string"
},
"params": {
"additionalProperties": false,
"properties": {
"name": {
"description": "Name must be hyphenated alphanumeric such as \"my-site\" or \"my-site-2\"",
"pattern": "^[a-z0-9-]+$",
"type": "string"
},
"siteId": {
"type": "string"
}
},
"required": [
"siteId",
"name"
],
"type": "object"
}
},
"required": [
"operation",
"params"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"aiAgentName": {
"type": "string"
},
"llmModelName": {
"type": "string"
},
"operation": {
"const": "manage-env-vars",
"type": "string"
},
"params": {
"additionalProperties": false,
"properties": {
"deleteEnvVar": {
"type": "boolean"
},
"envVarIsSecret": {
"type": "boolean"
},
"envVarKey": {
"type": "string"
},
"envVarValue": {
"type": "string"
},
"getAllEnvVars": {
"type": "boolean"
},
"newVarContext": {
"default": "all",
"enum": [
"all",
"dev",
"branch-deploy",
"deploy-preview",
"production",
"branch"
],
"type": "string"
},
"newVarScopes": {
"default": [
"all"
],
"items": {
"enum": [
"all",
"builds",
"functions",
"runtime",
"post_processing"
],
"type": "string"
},
"type": "array"
},
"siteId": {
"type": "string"
},
"upsertEnvVar": {
"type": "boolean"
}
},
"required": [
"siteId"
],
"type": "object"
}
},
"required": [
"operation",
"params"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"aiAgentName": {
"type": "string"
},
"llmModelName": {
"type": "string"
},
"operation": {
"const": "create-new-project",
"type": "string"
},
"params": {
"additionalProperties": false,
"properties": {
"name": {
"description": "Name must be hyphenated alphanumeric such as \"my-site\" or \"my-site-2\"",
"pattern": "^[a-z0-9-]+$",
"type": "string"
},
"teamSlug": {
"type": "string"
}
},
"type": "object"
}
},
"required": [
"operation",
"params"
],
"type": "object"
}
]
}
},
"required": [
"selectSchema"
],
"type": "object"
}