This commit is contained in:
@@ -47,12 +47,14 @@ const TOOL_DOC_ALIASES: Record<string, string> = {
|
||||
// maps.ts をまとめる
|
||||
getdirections: 'searchplaces',
|
||||
reversegeocode: 'searchplaces',
|
||||
// office.ts をまとめる
|
||||
readpdf: 'office',
|
||||
readexcel: 'office',
|
||||
readdocx: 'office',
|
||||
readpptx: 'office',
|
||||
readmsg: 'office',
|
||||
// ReadExcel/ReadDocx/ReadPdf/ReadPPTX/ReadMsg は Read に統合。旧名の ReadToolDoc は
|
||||
// 統合後の read.md に解決する(後方互換)。
|
||||
readpdf: 'read',
|
||||
readexcel: 'read',
|
||||
readdocx: 'read',
|
||||
readpptx: 'read',
|
||||
readmsg: 'read',
|
||||
// office.ts の残存ツール (前処理系) は office.md にまとめる
|
||||
pdftoimages: 'office',
|
||||
splitexcelsheets: 'office',
|
||||
splitdocxsections: 'office',
|
||||
@@ -102,6 +104,9 @@ const TOOL_DOC_ALIASES: Record<string, string> = {
|
||||
testworkspaceapp: 'testworkspaceapp',
|
||||
// orchestration.ts: WaitSubTask は spawnsubtask.md にまとめる
|
||||
waitsubtask: 'spawnsubtask',
|
||||
// file-provenance.ts: GetFileProvenance / ListWorkspaceFiles を1つの doc にまとめる
|
||||
getfileprovenance: 'file-provenance',
|
||||
listworkspacefiles: 'file-provenance',
|
||||
};
|
||||
|
||||
const READ_TOOL_DOC_DEF: ToolDef = {
|
||||
@@ -109,8 +114,8 @@ const READ_TOOL_DOC_DEF: ToolDef = {
|
||||
function: {
|
||||
name: 'ReadToolDoc',
|
||||
description:
|
||||
'ツールの詳細な使い方ドキュメントを読み込む。各ツールの description は概要のみで、詳細な手順や例が必要なときはこれを呼ぶ。'
|
||||
+ 'docs/tools/{name}.md(リポジトリ内固定パス)を参照する。',
|
||||
'ツールの詳細な使い方ドキュメント(docs/tools/{name}.md、リポジトリ内固定パス)を読み込む。各ツールの description は概要のみなので、詳しい手順や例が必要なときに呼ぶ。'
|
||||
+ 'MCP ツール名(mcp__server__tool)を渡すと、キャッシュ済みの説明と入力スキーマを返す。',
|
||||
parameters: {
|
||||
type: 'object',
|
||||
properties: {
|
||||
|
||||
Reference in New Issue
Block a user