ramzinex_authenticate
Authenticate a Ramzinex API instance and cache its bearer token for subsequent private calls, without exposing the token.
Instructions
Authenticate an instance and cache its bearer token (no token leaked).
Persian purpose: احراز هویت و دریافت توکن. Runs the api_key + secret
getToken login flow (POST /exchange/api/{ver}/exchange/auth/api_key/getToken) and caches the
resulting bearer token in memory for subsequent private calls. If the
instance is configured with a pre-issued api_token instead, it simply
reports success. The token value is NEVER returned.
Args: instance: Configured instance to authenticate (default when omitted).
Returns:
{authenticated: true, instance, method} on success, where
method is "api_token" or "api_key"; otherwise a
structured error.
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": "ramzinex_authenticate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||