| name | shiiman-google:drive-search |
| description | Google Drive を検索する。「Drive を検索」「ドライブ検索」「ファイルを探して」「Drive で検索」「Google Drive 検索」「ファイル名で検索」「条件で検索」などで起動。 |
| allowed-tools | ["Read","Bash"] |
| argument-hint | [--help] |
Drive Search
Google Drive を検索します。
Help
$ARGUMENTS に --help が含まれる場合、以下を表示して終了:
/shiiman-google:drive-search - Drive Search
概要:
Google Drive を検索します。
使用方法:
/shiiman-google:drive-search [オプション]
オプション:
--help このヘルプを表示
引数
- 検索クエリ (必須): 名前の部分一致など(例:
spec)
実行方法
アクティブプロファイルで検索
python ${CLAUDE_PLUGIN_ROOT}/scripts/google_drive.py search --query "name contains '<検索キーワード>'"
プロファイル指定で検索
python ${CLAUDE_PLUGIN_ROOT}/scripts/google_drive.py --profile <profile-name> search --query "name contains '<検索キーワード>'"
検索クエリ例
--query "name contains 'spec'"
--query "name contains 'レポート'"
--query "mimeType='application/pdf' and name contains 'spec'"
--query "modifiedTime > '2024-01-01'"
--query "'<folder-id>' in parents and name contains 'spec'"
注意事項
- トークン未作成の場合は「Google ログイン」と言って認証を行ってください