Create inbox from a schema
create_inbox_from_schemaCreate an active inbox from a schema you send, in the same format as a saved layout. The inbox gets its own fields, its email address is returned, and mail and uploads are parsed at once. This path is for the API and MCP only; the console does not offer it.
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>",
"schema": "<schema>"
},
"name": "create_inbox_from_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| icon | No | A Lucide icon name, such as "file-text" or "receipt". Send null to go back to the default. Shown on the inbox card. | |
| name | Yes | The inbox name. Unique in the workspace. | |
| schema | Yes | A layout is {"type":"object","properties":{...}}. Each property is {"type":T} where T is one of any, null, boolean, string, number, date, array, object. An optional description, at most 400 characters, tells the model how to read that key. An optional required array lists the keys that must be present. A date is a string yyyy-mm-dd. An array adds "items" (one node). An object adds "properties" and may add "required". At most 4 levels below the root, 100 keys, and 16384 bytes. |