create_notebook
Create a new Dynatrace notebook by supplying inline JSON content or a file path. Automates notebook creation for documenting observability data.
Instructions
Create a new notebook (WRITE). Sends a multipart/form-data POST per the Document Service spec. The content object is serialized to JSON and sent as the 'content' part with Content-Type application/json. Provide the content inline via 'content' OR from a file via 'contentPath' (not both). Requires DT_ENABLE_WRITES=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Notebook display name. | |
| content | No | Notebook content as a JSON object (e.g. { cells: [] }). | |
| contentPath | No | Absolute or cwd-relative path to a JSON file whose contents become the notebook content. Provide exactly one of content or contentPath. |