Skip to content

Tools Documentation Index

SII CLI provides a rich set of tools to help you efficiently complete various tasks. This document provides an overview of all available tools and links to detailed documentation.

File Operation Tools

These tools are used for reading, writing, and managing files in the filesystem.

Tool NameDescriptionDocumentation
read_fileRead file content, supports text, images, and PDFView Docs
write_fileWrite file content, supports creating new files or overwriting existing onesView Docs
replaceReplace text in files, supports single or multiple replacementsView Docs
read_many_filesRead multiple files in batchView Docs

Directory and Search Tools

These tools are used for browsing directory structures and searching files.

Tool NameDescriptionDocumentation
list_directoryList files and subdirectories in a directoryView Docs
globFind files using glob patternsView Docs
search_file_contentSearch for regex patterns in file contentView Docs

Command Execution Tools

These tools are used for executing shell commands and scripts.

Tool NameDescriptionDocumentation
run_shell_commandExecute shell commandsView Docs

SII Platform Tools

These tools integrate with the SII platform to provide advanced features.

Search and Browse

Tool NameDescriptionDocumentation
sii_web_searchWeb search using SII backendView Docs
sii_web_fetchFetch and process web contentView Docs
sii_hybrid_searchHybrid search (web + cognitions)View Docs

Cognition Management

Tool NameDescriptionDocumentation
sii_cognitionsAccess and search SII cognition databaseView Docs
sii_cognition_extract_uploadExtract cognition from URLs and uploadView Docs

Research Tools

Tool NameDescriptionDocumentation
sii_deep_researchConduct deep researchView Docs

Notification Tools

Tool NameDescriptionDocumentation
sii_email_notificationSend email notificationsView Docs

Other Tools

Tool NameDescriptionDocumentation
save_memorySave long-term memoryView Docs
agent_toolCreate and manage sub-agentsView Docs

Tool Usage Guide

Basic Concepts

All tools follow these basic principles:

  1. Parameter Validation: Tools validate all parameter validity
  2. Security Restrictions: Tools check if file paths are within allowed scope
  3. Error Handling: Tools provide clear error messages
  4. User Confirmation: Some operations require user confirmation

Path Requirements

Most file operation tools require absolute paths:

  • ✅ Correct: /home/user/project/src/main.ts
  • ❌ Wrong: src/main.ts
  • ❌ Wrong: ./src/main.ts

File Filtering

Many tools support file filtering options:

  • respect_git_ignore: Whether to respect .gitignore rules
  • respect_sii_ignore: Whether to respect .siiignore rules
  • use_default_excludes: Whether to exclude common large directories

Best Practices

  1. Check Before Writing: Use read_file to check content before writing or modifying files
  2. Use Appropriate Tools:
    • Small changes: use replace
    • Large changes: use write_file
    • Batch operations: use read_many_files
  3. Pagination: For large result sets, use limit and offset parameters
  4. Error Handling: Always check error messages returned by tools

Tool Development

If you want to learn how to develop new tools or extend existing ones, please refer to:

Feedback and Support

If you encounter issues or have suggestions for improvement:

Released under the MIT License.