Bring a Markdown file in as a document
import_docImports a Markdown file from disk into Tisty as a document, converts it to Tisty language, reports changes, pulls in linked files, and leaves the original untouched.
Instructions
Bring one Markdown file from disk in as a document, turned into the Tisty language, saying what changed. Files it points at come in too; links to what cannot are taken out. The file on disk is untouched; a seeming live credential comes in under a warning. A task's exported page goes back to its task. One file per call.
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>"
},
"name": "import_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | A Markdown file under Downloads, Documents, Pictures, Desktop or the temporary folder | |
| title | No | A title for a file whose first line is not one; defaults to the file name | |
| anyway | No | Bring it in although a document has the same subject; only when it truly is another | |
| folder | No | The existing folder its subject belongs in, by name, path or id. Left out needs a reason | |
| page_of | No | Id of the document it becomes a page of |