工具 API
get_ library_ docs
获取库的最新文档。你必须先调用'resolve-library-id'以获取使用此工具所需的精确Context7兼容库ID,除非用户在查询中明确提供格式为'/org/project'或'/org/project/version'的库ID。
其他1 积分
调用信息
- 工具标识
- context7.get_library_docs
- 服务提供方
- Context7
- 平均响应
- 0 ms
- 近 7 天调用
- 0
输入参数
context7CompatibleLibraryID必填Exact Context7-compatible library ID (e.g., '/mongodb/docs', '/vercel/next.js', '/supabase/supabase', '/vercel/next.js/v14.3.0-canary.87') retrieved from 'resolve-library-id' or directly from user query in the format '/org/project' or '/org/project/version'.
topicTopic to focus documentation on (e.g., 'hooks', 'routing').
tokensMaximum number of tokens of documentation to retrieve (default: 5000). Higher values provide more context but consume more tokens.