current_project
Resolve an ambiguous project context before writing: identify which registered project a call would target without modifying data. Use when multiple projects are active to avoid misplaced writes.
Instructions
Show which project a call would resolve to, without writing anything.
Use this before a write when several projects are in play — it answers "where would this land?" cheaply. Read-only.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "current_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Which project this call is about — a registered id, alias, or absolute path (e.g. 'ossdrop'). Omit it when the server was started for a single repo, or when an active project is set with `pjm project use`. Call list_projects to see the registered names. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |