v1

latestOpenAPI 3.1.02026-07-17186070.1 KB

Create a folder

post/notes/~/v1/notebooks/{host}/{name}/folders

Path parameters

hoststring required
namestring required

Request body

folderNamestring required

Name of the new folder. (Distinct from the path's {name} which is the notebook slug — when mcp-proxy flattens path + body fields into a single tool input, a colliding name would conflate the two.)

parentinteger required

Parent folder id (required). To create a top-level folder, pass the notebook's root folder id (notebook.rootFolderId). An id that doesn't exist in the notebook is rejected.

Response

Created — response carries the folder-created update

requestIdstring required

Canonical Hoon @uv (base-32 with . separators every 5 chars from the right, prefixed 0v). A correlation id for the request. OPTIONAL on POST: if you omit it (or send something that isn't a valid @uv), the server mints one and returns it in the response. You only need to supply your own if you intend to poll GET /request/{requestId} or subscribe to the SSE request stream — for the common case (read the held-open POST response inline) you can leave it out entirely.

Example response

{
  "requestId": "0v3.1k7gh.j5b2m.r8nq9",
  "body": {
    "response": {
      "host": "~zod",
      "flagName": "my-notebook-1"
    }
  }
}