This commit is contained in:
+15
-10
@@ -28,17 +28,15 @@ const DOCS_DIR = path.join(REPO_ROOT, 'docs', 'tools');
|
||||
// 関連ツールが同じ doc を参照できるようエイリアスを定義
|
||||
// キー・値ともに小文字
|
||||
const TOOL_DOC_ALIASES: Record<string, string> = {
|
||||
// calendar.md にまとめる
|
||||
addcalendarevent: 'calendar',
|
||||
listcalendarevents: 'calendar',
|
||||
// updateuseragents.md にまとめる
|
||||
readuseragents: 'updateuseragents',
|
||||
// checklist.md にまとめる
|
||||
createchecklist: 'checklist',
|
||||
checkitem: 'checklist',
|
||||
getchecklist: 'checklist',
|
||||
// searchknowledge.md にまとめる
|
||||
listnamespaces: 'searchknowledge',
|
||||
listdocuments: 'searchknowledge',
|
||||
ingestdocument: 'searchknowledge',
|
||||
ingeststatus: 'searchknowledge',
|
||||
// x.ts ツールをまとめる
|
||||
xuserposts: 'xsearch',
|
||||
xpostdetail: 'xsearch',
|
||||
@@ -58,6 +56,10 @@ const TOOL_DOC_ALIASES: Record<string, string> = {
|
||||
pdftoimages: 'office',
|
||||
splitexcelsheets: 'office',
|
||||
splitdocxsections: 'office',
|
||||
// skills.ts をまとめる (skills.md)
|
||||
installskill: 'skills',
|
||||
readskill: 'skills',
|
||||
listskills: 'skills',
|
||||
// pieces.ts をまとめる
|
||||
getpiece: 'listpieces',
|
||||
createpiece: 'listpieces',
|
||||
@@ -84,10 +86,13 @@ const TOOL_DOC_ALIASES: Record<string, string> = {
|
||||
addslide: 'slide',
|
||||
buildpptx: 'slide',
|
||||
resetslides: 'slide',
|
||||
// notes.ts をまとめる
|
||||
searchnotes: 'notes',
|
||||
readnote: 'notes',
|
||||
writenote: 'notes',
|
||||
// ワークスペース・アプリの作り方 (workspace-apps.md)。専用ツールは無いが、
|
||||
// 「ワークスペース・アプリを作って」依頼時にエージェントが仕様を引けるよう alias。
|
||||
workspaceapp: 'workspace-apps',
|
||||
workspaceapps: 'workspace-apps',
|
||||
createapp: 'workspace-apps',
|
||||
buildapp: 'workspace-apps',
|
||||
appbridge: 'workspace-apps',
|
||||
};
|
||||
|
||||
const READ_TOOL_DOC_DEF: ToolDef = {
|
||||
@@ -102,7 +107,7 @@ const READ_TOOL_DOC_DEF: ToolDef = {
|
||||
properties: {
|
||||
name: {
|
||||
type: 'string',
|
||||
description: '読みたいツール名(例: "BrowseWeb", "SearchKnowledge")',
|
||||
description: '読みたいツール名(例: "BrowseWeb", "WebFetch")',
|
||||
},
|
||||
},
|
||||
required: ['name'],
|
||||
|
||||
Reference in New Issue
Block a user