touchdesigner-mcp-server
Version:
MCP server for TouchDesigner
23 lines (22 loc) • 648 B
TypeScript
/**
* Node List Formatter
*
* Formats TouchDesigner node lists with token-optimized output.
* Used by GET_TD_NODES tool.
*/
import type { TdNode } from "../../../gen/endpoints/TouchDesignerAPI.js";
import type { FormatterOptions } from "./responseFormatter.js";
/**
* Node list data structure (matches API response)
*/
export interface NodeListData {
nodes?: TdNode[];
parentPath?: string;
pattern?: string;
includeProperties?: boolean;
[key: string]: unknown;
}
/**
* Format node list based on detail level
*/
export declare function formatNodeList(data: NodeListData | undefined, options?: FormatterOptions): string;