project_inspect
Inspect local Git state read-only to report HEAD, branch, upstream ref, repo, dirty status, and pushed status. Use it to pick a safe revision for build or test tasks without commit, push, or fetch.
Instructions
Read-only local Git inspection: HEAD, branch, upstream remote/ref, GitHub repository, dirty state and whether HEAD is in the upstream tracking ref. Suggests a revision source only for pushed commits. Never commits, pushes or fetches.
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": {
"localProjectRoot": "<localProjectRoot>"
},
"name": "project_inspect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | en | |
| projectId | No | ||
| localProjectRoot | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||