mt_get_context
Retrieves a length-capped snapshot of a project's mainline memory and recent context, helping agents continue work without exceeding context limits.
Instructions
读取有长度上限的项目主线上下文
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": {
"project": "<project>"
},
"name": "mt_get_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | 显式项目名,使用 mt_set_project 初始化 | |
| maxRecent | No |