find_notebooks
List notebooks in SiYuan or filter them by name keyword to get their IDs for subsequent read/write operations.
Instructions
查找并列出思源笔记中的笔记本。
适用场景: - 快速获取所有笔记本 ID 以便后续写入/查询工具使用。 - 通过名称关键字做轻量筛选。
使用方法: - name: 可选,大小写不敏感的包含匹配。 - limit: 返回数量上限,默认 10。
注意事项: - 返回结果为笔记本原始信息(含 id/name/icon/closed 等字段)。 - 若需要精确匹配名称,请在调用方自行做二次过滤。
Args: name (Optional[str]): 用于模糊搜索笔记本的名称。如果省略,则列出所有笔记本。 limit (int): 返回结果的最大数量,默认为 10。
Returns: list: 包含笔记本信息的字典列表,每个字典包含 'name' 和 'id'。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |