create_source
Add a link, file upload, or text note to a notebook. Optionally generate embeddings to enable semantic search.
Instructions
Create a new source (link, upload, or text).
Args:
notebook_id: Notebook ID to add source to
type: Source type ('link', 'upload', or 'text')
url: URL for link type sources
title: Optional title
embed: Whether to generate embeddings (default: True)
Returns:
Created source details
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>",
"type": "<type>"
},
"name": "create_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notebook_id | Yes | ||
| type | Yes | ||
| url | No | ||
| title | No | ||
| embed | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||