Mark an image spot
mark_slotInsert an image placeholder block at a specific line of a markdown draft, moving existing text down while refusing lines that would split a paragraph or fall inside a code block.
Instructions
Insert one image placeholder, , as its own block starting at the given line; the line that was there moves down, and blank lines are added only where needed. Use a blank line or the start or end of a block: the tool refuses a line that would split a paragraph or fall inside a code block.
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": {
"path": "<path>",
"line": "<line>",
"description": "<description>"
},
"name": "mark_slot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | 1-based line where the placeholder goes; one past the last line appends | |
| path | Yes | The article, a .md or .markdown file; absolute or relative to the working folder | |
| description | Yes | One line saying what the image should show; becomes its alt text |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| slot | Yes |