create_import_job
Create + start an import for an org. Owner/admin only. Two sources. source='notion_api' (default): pass the transient Notion integration token (never stored, logged, or echoed) with either database_id (single database) or whole_workspace=true (all shared databases → one board each with best-effort inter-DB relation links); optional column_property names the Notion status/select property whose options become the board's columns (blank = auto-detect). source='export_file' (NOV-297): import a Notion export .zip previously uploaded via create_import_upload; pass file_id (no token). REQUIRED SEQUENCE for export_file: call create_import_upload -> PUT the bytes to the returned upload_url -> commit_file(file_id) -> THEN create_import_job(source='export_file', file_id=...). The file is importable as soon as commit_file returns status=='available'. Returns the queued job WITHOUT any token. Mirrors POST /v1/orgs/{org_id}/import-jobs.
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": {
"org_id": "<org_id>"
},
"name": "create_import_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | ||
| org_id | Yes | ||
| source | No | notion_api | |
| file_id | No | ||
| database_id | No | ||
| column_property | No | ||
| whole_workspace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||