Create Project
create_projectCreate a project in your Magic Lane account with a unique name, optional description, allowed web origins and offline maps key. Create an API key separately afterward.
Instructions
Create a project in the account. Only the name is required (6–64 characters, unique in the account); optional description, allowed web origins (e.g. "https://app.example.com", "*.example.com"), allowEmptyOrigin (default true: native apps and servers without an Origin header) and offlineMapsKey (only for accounts with offline maps). No API key is created with the project: call create_api_key next if the user needs one. Fails when the plan allows no more projects. Not idempotent. 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": {
"name": "<name>"
},
"name": "create_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 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. 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). | |
| description | No | Description, up to 1000 characters. | |
| 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 |
|---|---|---|---|
| notes | Yes | Things to know about this result. | |
| project | Yes | The project as created. |