mark_used
Flag a search hit as used to give it a small, fading boost in later searches; flag only results you actually cite or rely on.
Instructions
Tell the server a result helped: call this for each search hit you cite in your answer or rely on. Pass the hit's repo, path and name exactly as search_code returned them. Results that clients mark get a small, capped boost in later searches, and the boost fades over 30 days. Reading a hit with get_symbol or read_wiki already counts as a lighter use, so mark only what you actually used.
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": {
"repo": "<repo>",
"path": "<path>",
"name": "<name>"
},
"name": "mark_used"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The hit's name, exactly as search_code returned it, for example url_for or Flask.url_for. | |
| path | Yes | The hit's path, exactly as search_code returned it (a page hit's directory). | |
| repo | Yes | The hit's repository, exactly as search_code returned it, for example flask. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| name | Yes | ||
| path | Yes | ||
| repo | Yes | ||
| linked | Yes | ||
| reason | Yes | ||
| status | Yes |