Create knowledge document
create_knowledgeCreate a new Markdown knowledge document under a specified topic path. Use when capturing fresh engineering knowledge; fails if the document already exists, prompting an update instead.
Instructions
Create a new Markdown knowledge document under knowledge/.md. Fails if a document already exists at that path (use update_knowledge instead). Topic paths are sanitized and cannot escape the knowledge directory.
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": {
"topic": "<topic>",
"title": "<title>",
"content": "<content>"
},
"name": "create_knowledge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Document title, used in frontmatter and as the H1 if content has none | |
| topic | Yes | Topic path, e.g. 'api/graphql' or 'cloud/gcp' | |
| content | Yes | Markdown body content |