Get Best Practices
gt_best_practicesRetrieve current best practices for one library—patterns, performance, security, testing, migration—to guide implementation and avoid outdated guidance. Use when a specific library is named.
Instructions
Current best practices for one library: patterns, performance, security, testing, migration. libraryId: a plain name ('nextjs'), GroundTruth ID or npm:/pypi: package. Prefer over gt_search when one library is named.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"libraryId": "<libraryId>"
},
"name": "gt_best_practices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | No | e.g. 'caching'; empty = general | |
| tokens | No | ||
| version | No | e.g. '15' | |
| libraryId | Yes | Plain name ('nextjs'), GroundTruth ID, or npm:/pypi: package |