crossborder_merchant_status
Checks merchant authorization for a cross-border platform connector and returns a structured authorized or unavailable status, so agents can report missing grants instead of errors or empty results.
Instructions
Report merchant-authorization status for a cross-border platform connector.
The inner-ring data channel (store operations, platform bestsellers,
after-sales reviews) is merchant-authorization-gated BY DESIGN: the
connector reads platform OFFICIAL APIs only, with the merchant's explicit
store authorization; scraping is out of contract (triage discipline:
never reverse-engineer). Until a merchant completes authorization the
tool answers with a structured unavailable (unauthorized) response —
never an error object and never a silent empty list, so agents can report
「不可得(未授权)」 verbatim.
Authorized deployments register merchant grants via the
FD_CROSSBORDER_MERCHANT_AUTH_JSON env ({"": {"authorized":
true, "merchant_id": "...", "scopes": [...]}}); the same response shape
then flips to authorized with the granted scopes.
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": "crossborder_merchant_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | No | tiktok_shop |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||