Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

nodetool-api-reference

БесплатноБез исполняемых скриптовНе проверен

Integrate with NodeTool over REST, tRPC, MsgPack WebSocket, MCP, or the OpenAI-compatible Chat API, including the document surfaces and workflow execution.

nodetool-aiот nodetool-ai★ 674 звезды на GitHub

Об этом скилле

You help users integrate with NodeTool's HTTP + WebSocket server (default http://localhost:7777). Start it with nodetool serve (flags: --host, --port).

Surfaces

Surface Path prefix Use case
REST /api/... Workflows, assets, collections, models, bundles, health
tRPC /trpc/... The document surfaces: timelines, storyboards, sketches, scripts, applications, JS scripts, projects, skills, settings
OpenAI-compatible /v1/... Chat completions + model list
WebSocket /ws Run/cancel/stream jobs, live chat, live editor tools
MCP /mcp Agent tools over streamable HTTP, for Claude Desktop and CLI agents

Auth is controlled by environment variables, not CLI flags (§ Authentication).

Pick the right surface. REST covers workflows, assets and the portable bundles. Everything that is a document someone edits (a timeline sequence, a storyboard, a sketch, a script, a mini app, a JS script) is a tRPC router, and the REST routes for those kinds cover only import, export and build. An integration that reads or writes a document calls tRPC, or calls the agent capability of the same name over /mcp.

Authentication

The server picks its auth mode from SUPABASE_URL and SUPABASE_KEY alone. It reads neither AUTH_PROVIDER nor NODETOOL_SERVER_MODE.

Mode Enabled by Accepted credentials
Local Default, with the Supabase variables unset Loopback connections run as user "1" with no token. NODETOOL_TRUST_LOCALHOST=false turns that off. Sources in NODETOOL_TRUST_LOCAL_NETWORKS (comma-separated CIDRs) also run as user "1" with no token. A bearer equal to SERVER_AUTH_TOKEN runs as user "1". A token minted by nodetool deploy users-add runs as that API user. Anything else gets 401.
Supabase SUPABASE_URL and SUPABASE_KEY both set Every non-public request needs a valid Supabase JWT. SERVER_AUTH_TOKEN, NODETOOL_TRUST_LOCAL_NETWORKS and API-user tokens are ignored. Loopback is trusted only with NODETOOL_TRUST_LOCALHOST=true.

In both modes, an access token (ntk_…) created in Settings → MCP → Connect an agent remotely authenticates as the person who created it. Send any token as Authorization: Bearer <token>. A WebSocket client that cannot set headers passes ?api_key=<token> on the /ws URL.

REST Endpoints

Workflows

# List workflows
curl http://localhost:7777/api/workflows \
  -H "Authorization: Bearer TOKEN"

# Get a workflow
curl http://localhost:7777/api/workflows/<id> \
  -H "Authorization: Bearer TOKEN"

# Export helpers
curl http://localhost:7777/api/workflows/<id>/dsl-export      # TypeScript DSL
curl http://localhost:7777/api/workflows/<id>/export-bundle   # .nodetool bundle (zip)

PUT /api/workflows/<id> replaces the stored graph. A node's ui_properties.position is in canvas coordinates unless the node has a parent_id. A node inside a group (nodetool.workflows.base_node.Group) stores the group's id in parent_id and a position relative to the group's top-left corner. A node at canvas (920, 1356) inside a group at (880, 1000) stores {"x": 40, "y": 356}. A node with no parent_id is not a group member, even when it lies inside the group's rectangle, and does not move with it.

Run a saved workflow over REST. This is the route run_workflow, debug_workflow and nodetool debug use. The editor runs over WebSocket instead (§ WebSocket API).

curl -X POST http://localhost:7777/api/workflows/<id>/run \
  -H "Authorization: Bearer TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"params": {"prompt": "a red fox"}}'
# Same body, returns the full debug report (summary and verdict) instead of the run row
curl -X POST http://localhost:7777/api/workflows/<id>/debug ...

The body also takes background: true to return a job id at once, and interactive: true to park on escalations as a debug session (below).

Documents (tRPC)

The routers under /trpc, one per document kind: timeline, storyboards, sketch, scripts, applications, jsScripts, documents, workflows, projects, assets, collections, jobs, runs, appRuns, appInstances, resources, models, customProviders, nodes, memories, messages, threads, settings, skills, storage, packs, costs, credits, files, fonts, games, integrations, triggers, externalMcp, agentAccess, users, worker, workspace.

Each follows the same shape: list, get, create, update (compare-and-swap on updated_at), delete, plus sub-routers. Whole-document snapshots are timeline.versions, sketch.documentVersions and jsScripts.documentVersions (sketch.versions is a different thing: the per-layer generation takes). applications also carries publish, released, deploy, budget and usage, because publishing an app locks in the current gra

Полный SKILL.md на GitHub

Установить nodetool-api-reference в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл nodetool-api-reference?

Integrate with NodeTool over REST, tRPC, MsgPack WebSocket, MCP, or the OpenAI-compatible Chat API, including the document surfaces and workflow execution.

Как установить скилл nodetool-api-reference?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл nodetool-api-reference запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить nodetool-api-reference с