Loading...
Loading...
Compare original and translation side by side
| Tool | Operation | Key Params |
|---|---|---|
| Full-text search | |
| Full details | |
| Upload file | |
| Get file base64 | |
| Batch operations | |
| 工具名称 | 操作类型 | 关键参数 |
|---|---|---|
| 全文搜索 | |
| 获取完整详情 | |
| 上传文件 | |
| 获取文件base64 | |
| 批量操作 | |
| Tool | Operation |
|---|---|
| All tags + colors + matching |
| New tag, optional auto-match |
| Modify name/color/matching |
| Remove permanently |
| Batch permissions/deletion |
| 工具名称 | 操作类型 |
|---|---|
| 获取所有标签+颜色+匹配规则 |
| 创建新标签,可选自动匹配 |
| 修改名称/颜色/匹配规则 |
| 永久删除标签 |
| 批量设置权限/删除标签 |
| Tool | Operation |
|---|---|
| All correspondents |
| New, optional auto-match |
| Batch permissions/delete |
| 工具名称 | 操作类型 |
|---|---|
| 获取所有联系人 |
| 创建新联系人,可选自动匹配 |
| 批量设置权限/删除联系人 |
| Tool | Operation |
|---|---|
| All document types |
| New, optional auto-match |
| Batch permissions/delete |
| 工具名称 | 操作类型 |
|---|---|
| 获取所有文档类型 |
| 创建新文档类型,可选自动匹配 |
| 批量设置权限/删除文档类型 |
What do you know?
├─ Keywords/content → search_documents(query="term1 term2")
├─ Document ID → get_document(id=N)
├─ By tag → search_documents(query="tag:tagname")
├─ By type → search_documents(query="type:typename")
├─ By correspondent → search_documents(query="correspondent:name")
├─ By date → search_documents(query="created:[2024 to 2025]")
└─ Combined → search_documents(query="tag:X correspondent:Y created:[2024 to 2025]")你已知哪些信息?
├─ 关键词/内容 → search_documents(query="term1 term2")
├─ 文档ID → get_document(id=N)
├─ 按标签查找 → search_documents(query="tag:tagname")
├─ 按类型查找 → search_documents(query="type:typename")
├─ 按联系人查找 → search_documents(query="correspondent:name")
├─ 按日期查找 → search_documents(query="created:[2024 to 2025]")
└─ 组合条件查找 → search_documents(query="tag:X correspondent:Y created:[2024 to 2025]")What operation?
├─ Add tag → bulk_edit_documents(method="add_tag", tag=ID)
├─ Remove tag → bulk_edit_documents(method="remove_tag", tag=ID)
├─ Multi-tag → bulk_edit_documents(method="modify_tags", add_tags=[...], remove_tags=[...])
├─ Set type → bulk_edit_documents(method="set_document_type", document_type=ID)
├─ Set sender → bulk_edit_documents(method="set_correspondent", correspondent=ID)
├─ Merge PDFs → bulk_edit_documents(method="merge", metadata_document_id=ID)
├─ Rotate pages → bulk_edit_documents(method="rotate", degrees=90|180|270)
├─ Delete pages → bulk_edit_documents(method="delete_pages", pages="1,3,5-7")
├─ Reprocess OCR → bulk_edit_documents(method="reprocess")
└─ Delete → bulk_edit_documents(method="delete") !! PERMANENT !!需要执行什么操作?
├─ 添加标签 → bulk_edit_documents(method="add_tag", tag=ID)
├─ 移除标签 → bulk_edit_documents(method="remove_tag", tag=ID)
├─ 多标签修改 → bulk_edit_documents(method="modify_tags", add_tags=[...], remove_tags=[...])
├─ 设置文档类型 → bulk_edit_documents(method="set_document_type", document_type=ID)
├─ 设置发件人 → bulk_edit_documents(method="set_correspondent", correspondent=ID)
├─ 合并PDF → bulk_edit_documents(method="merge", metadata_document_id=ID)
├─ 旋转页面 → bulk_edit_documents(method="rotate", degrees=90|180|270)
├─ 删除页面 → bulk_edit_documents(method="delete_pages", pages="1,3,5-7")
├─ 重新处理OCR → bulk_edit_documents(method="reprocess")
└─ 删除文档 → bulk_edit_documents(method="delete") !! 永久删除 !!1. Resolve metadata IDs first:
├─ list_tags → find or create_tag
├─ list_correspondents → find or create_correspondent
└─ list_document_types → find or create_document_type
2. post_document(file=<base64>, filename="name.pdf", tags=[...], correspondent=ID, ...)1. 先解析元数据ID:
├─ list_tags → 查找或创建标签(create_tag)
├─ list_correspondents → 查找或创建联系人(create_correspondent)
└─ list_document_types → 查找或创建文档类型(create_document_type)
2. post_document(file=<base64>, filename="name.pdf", tags=[...], correspondent=ID, ...)Need to change metadata objects?
├─ View all → list_tags / list_correspondents / list_document_types
├─ Create new → create_tag / create_correspondent / create_document_type
├─ Edit tag → update_tag(id, name, color, match, matching_algorithm)
├─ Delete one tag → delete_tag(id)
├─ Batch delete/perm → bulk_edit_tags / bulk_edit_correspondents / bulk_edit_document_types需要修改元数据对象吗?
├─ 查看全部 → list_tags / list_correspondents / list_document_types
├─ 创建新对象 → create_tag / create_correspondent / create_document_type
├─ 编辑标签 → update_tag(id, name, color, match, matching_algorithm)
├─ 删除单个标签 → delete_tag(id)
├─ 批量删除/设置权限 → bulk_edit_tags / bulk_edit_correspondents / bulk_edit_document_typescontentget_document0-60123456contentget_document0-60123456| Task | File |
|---|---|
| Tool parameters & types | tools.md |
| Search query syntax | query-syntax.md |
| Multi-step workflows | workflows.md |
| 任务 | 文件路径 |
|---|---|
| 工具参数及类型 | tools.md |
| 搜索查询语法 | query-syntax.md |
| 多步骤工作流 | workflows.md |