get_doc_kind
Retrieves the starting template, writing rules, and metadata for a document type, enabling correct documentation structure before writing. If the type is unknown, lists all available types.
Instructions
返回某文档类型的起始模板(template.md)+ 撰写规范(writing.md)+ 元数据(label、contextSource)。写这类文档前先调一次。未知类型时错误信息里列出全部可用类型
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": {
"projectId": "<projectId>",
"kind": "<kind>"
},
"name": "get_doc_kind"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | 覆盖默认工作目录(项目所在父目录);相对路径按当前工作目录解析;缺省用 PROTOFLOW_HOME 或启动时的 cwd | |
| kind | Yes | ||
| projectId | Yes | 项目 id(同时也是项目文件夹名) |