get_track_notes
Retrieve all musical notes in a specific track by providing its track ID. This tool aids in editing and analyzing vocal tracks within Synthesizer V AI Vocal Studio.
Instructions
Get all notes in a specific track
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trackId | Yes | ID of the track |
Implementation Reference
- src/index.ts:407-439 (handler)MCP tool handler implementation for 'get_track_notes'. Validates the trackId argument, calls executeCommand to fetch notes from Synthesizer V Studio via file communication, handles errors, and returns the notes as formatted JSON text.case "get_track_notes": { const args = request.params.arguments as any; const trackId = Number(args.trackId); if (isNaN(trackId)) { return { content: [{ type: "text", text: "Error: Invalid track ID" }], isError: true }; } const notes = await executeCommand("get_track_notes", { trackId }); if (notes.error) { return { content: [{ type: "text", text: `Error: ${notes.error}` }], isError: true }; } return { content: [{ type: "text", text: JSON.stringify(notes, null, 2) }] }; }
- src/index.ts:262-275 (registration)Registration of the 'get_track_notes' tool in the ListToolsRequestSchema handler. Includes the tool name, description, and input schema defining the required 'trackId' parameter.{ name: "get_track_notes", description: "Get all notes in a specific track", inputSchema: { type: "object", properties: { trackId: { type: "string", description: "ID of the track" } }, required: ["trackId"] } },
- src/index.ts:262-275 (schema)Input schema definition for the 'get_track_notes' tool, specifying an object with a required 'trackId' string property.{ name: "get_track_notes", description: "Get all notes in a specific track", inputSchema: { type: "object", properties: { trackId: { type: "string", description: "ID of the track" } }, required: ["trackId"] } },