Create Auth Oauth Native Token
create_auth_oauth_native_tokenExchange an OAuth authorization code and verifier for a Mealie token, enabling passkey-capable system-browser logins without a browser session cookie.
Instructions
Exchange a native client's authorization code for a Mealie token.
The native client owns PKCE and state, so the exchange happens server-side without a browser session cookie. This lets passkey-capable system-browser logins (e.g. Pocket ID) work, which the cookie-coupled web callback cannot support.
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": {
"code": "<code>",
"code_verifier": "<code_verifier>",
"redirect_uri": "<redirect_uri>"
},
"name": "create_auth_oauth_native_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| nonce | No | ||
| redirect_uri | Yes | ||
| code_verifier | Yes |