clone_paragraph
Duplicate a paragraph within the same notebook directly below the source, preserving code, title, and chart configuration; copied titles get a “ (copy)” suffix.
Instructions
Clone a paragraph within the same notebook. The copy is created directly below the source paragraph and carries over its code, title, and visualization/chart config. The clone's title gets a " (copy)" suffix; untitled paragraphs stay untitled.
Zeppelin has no dedicated clone-paragraph endpoint, so this reads the source paragraph,
creates a new one with the same content, then copies its config in a single tool call.
Args:
notebook_id: The notebook ID containing the paragraph
paragraph_id: The paragraph ID to clone
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": {
"notebook_id": "<notebook_id>",
"paragraph_id": "<paragraph_id>"
},
"name": "clone_paragraph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notebook_id | Yes | ||
| paragraph_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |