rename
File renaming assistant tool: generates clearer new filenames based on file content and user intent, suitable for asset organization and batch naming.
File renaming assistant tool: generates clearer new filenames based on file content and user intent, suitable for asset organization and batch naming.
Overview
| Field | Value |
|---|---|
| Model ID | rename |
| CLI | dlazy rename |
| MCP | rename (Claude Code surfaces this as mcp__dlazy__rename) |
| Type | text |
| Execution | Returns synchronously |
| Batch | Supports --batch <n> parallel fan-out |
Parameters
| Arg | Type | Required | Notes |
|---|---|---|---|
file | string | Yes | File URL |
prompt | string | Yes | Prompt |
language | string | No | Language; default "en-US" |
--input @file.jsonor--input '{...}'can supply all args at once; flags take precedence over--inputkeys.
CLI Examples
dlazy rename --help
dlazy rename --file "value" --prompt "Write your prompt here"
dlazy rename --file "value" --prompt "Write your prompt here" --dry-run
dlazy rename --file "value" --prompt "Write your prompt here" --batch 4MCP
MCP is consumed by AI clients, not handwritten. Once dLazy is registered as an MCP server the tool appears in the client's tool list — Claude Code surfaces it as mcp__dlazy__rename; generic clients (e.g. OpenClaw) call it as rename.
See MCP setup for how to add the server.
Output
{
"outputs": [
{ "type": "json", "id": "o_...", "value": { /* tool-specific payload */ } }
]
}Structured payloads are returned as json outputs; the inner shape is tool-specific.