Update Project
update_projectChanges a project's name, description, allowed web origins, empty-origin setting, or offline maps key—only fields you send change; origins replaces the full list.
Instructions
Change a project: name, description, origins, allowEmptyOrigin and/or offlineMapsKey (at least one). Only the fields sent change; origins replaces the whole list (read the project first with get_project and send the full new list to add or remove one origin); "" clears the description. Requires "Projects: Read & write". Disabling or deleting projects, hidden projects and reading the offline maps key itself are only possible in the developer portal.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>"
},
"name": "update_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Project name, 6–64 characters, no line breaks or tabs; unique in the account. | |
| origins | No | Web origins allowed to use the project's API keys; replaces the whole list, [] clears it. Each entry is either http:// or https:// + host + optional :port + optional trailing / (no path, query or credentials; IPv6 in brackets, international names in xn-- form), or a wildcard like "*.example.com". Up to 100; no duplicates (case and default ports are ignored when comparing). | |
| projectId | Yes | Project id (UUID), from list_projects or create_project. | |
| description | No | Description, up to 1000 characters. "" clears it. | |
| offlineMapsKey | No | Offline maps key: letters, digits and -._~ only. Only for accounts with offline maps. Write-only: it is never returned, only hasOfflineMapsKey. | |
| allowEmptyOrigin | No | Allow requests without an Origin header (native apps, servers). The portal default is true. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Project id (UUID). | |
| name | Yes | Project name. | |
| origins | Yes | Web origins allowed to use the project's API keys. | |
| description | Yes | Project description. | |
| allowEmptyOrigin | Yes | Whether requests without an Origin header are allowed. | |
| hasOfflineMapsKey | Yes | Whether an offline maps key is set; the key itself is never returned. |