osm_login
Starts OAuth 2.0 login with PKCE, returns a browser approval URL, and captures the token automatically so you can authenticate before editing map data or writing notes.
Instructions
Start OAuth 2.0 login (authorization code + PKCE). Returns a URL the user must open in a browser and approve; the token is then captured automatically by a temporary local listener (5 minute window). Afterwards call osm_whoami to confirm. Needed before any editing or note-writing tool.
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": "osm_login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||