gitflic_auth_login
Validates a GitFlic API token against /user/me and stores it securely in the OS keychain or a chmod-0600 file, refusing invalid tokens. Supports named accounts and stdin input.
Instructions
Validate a GitFlic API token against /user/me, then store it in the OS keychain (macOS Keychain / Linux libsecret) or chmod-0600 file. Refuses to store an invalid token. Use --as to store under a named account; --stdin to read the token from stdin.
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": "gitflic_auth_login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as | No | Named account (e.g. 'work', 'personal') | |
| raw | No | Return the full, un-slimmed GitFlic response for THIS call (no token compression). Use when the default slim view dropped a field you need. | |
| stdin | No | Read token from stdin | |
| token | No | API token (else read from stdin if stdin=true) | |
| apiBase | No | Override API base (for self-hosted) |