next_path
Determines the right folder and next version for new edit, thumbnail, or library files before saving, and returns the user's rules for edit and thumbnail steps.
Instructions
The path for a new file: the right folder and the next version. kind=edit: /edits/-vN.mp4. kind=thumbnail: /thumbnails/-vN.png (the edit's name, plus an option word for several). kind=library: /assets//-vN.. Call it before you write any of these. For edit and thumbnail it also gives the user's rules for that step once per chat: follow them.
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": {
"kind": "<kind>",
"name": "<name>"
},
"name": "next_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ext | No | File extension. Default .mp4 for edit, .png for thumbnail; required for library. | |
| kind | Yes | edit, thumbnail or library. | |
| name | Yes | Short name, e.g. 'webmcp-short' or 'logo-mark'. A -vN suffix is ignored. | |
| group | No | kind=library: Logos, Icons, Images, Motion, or another one-word group. | |
| library | No | A library: 'style:<Name>' (a new name makes a new style), a project name, or 'comments' (the comment copilot's lessons, target list and best comments). | |
| session | No | Session: 'Project/folder', an absolute path or its id (from get_session). Old paths still work. |