通过 CogenticLink CLI 与远程 CLI、API 和 MCP 工具交互。采用分类递进方式,从工具库逐步展开至具体工具。使用此技能...
Before using any tool, you must add a library (API token) using the cogenticlink CLI:
Set a library (name, token, optional description): cogenticlink libraries set <name> <token> [description]
List all libraries (markdown output): cogenticlink libraries
Remove a library: cogenticlink libraries remove <name>
All tool commands require the library name as a positional argument.
Fetch Tool Categories (markdown output): cogenticlink categories '<library>'. Returns a list of categories.
Fetch Tool List of Category (markdown output): cogenticlink tools '<library>' '<category>'. If category is omitted, defaults to All Tools.
Obtain Tool Description & Input Schema: cogenticlink describe '<library>' '<tool>'. Returns Markdown containing the tool's description and JSON schema for parameters.
Call Tool: cogenticlink call '<library>' '<tool>' '[parameters]'. parameters is an optional JSON object (default {}). Successful responses return JSON with a content array. Errors return isError: true with details in content.
cogenticlink libraries set '<name>' <token> '[description]'. If the token is unknown, ask the user to create a tool library in Cogentic Hub.'All Tools' category.cogenticlink libraries to list existing libraries.cogenticlink tools '<library>' 'All Tools'.cogenticlink describe '<library>' '<tool>'.