Key Points
- Required:
keyword(substring match on category Chinese name, English name, category id). - Pagination:
pagestarts from 1;pageSizedefault 50, maximum 200. - The returned
id/categoryIdcan be used as the category identifier for input parameters such ascategoryHome/categoryBackendfor Temu product queries andcategoryfor store queries (as long as it is consistent with the specific tool schema).
Script (Optional)
Command-line debugging:python scripts/temu_category_search.py '<JSON>'(requires LINKFOXAGENT_API_KEY). See the end of references/api.md .
Reference
For the input/output parameter table, see references/api.md。
Resolve authentication and compute power issues
When the following abnormal situations occur, use references/onboarding.md to guide problem resolution:
Abnormal Situations
- API Key not configured: the environment variable is not configured with
LINKFOX_AGENT_API_KEY, andLINKFOXAGENT_API_KEY。 - Response 401 or 402 status code
- Response indicates insufficient compute power or balance: the message contains "insufficient compute power balance/insufficient billing/insufficient balance/quota exceeded/insufficient balance/package expired/recharge required/please recharge", or content with a similar meaning.
Compute Power Consumption Rules
No compute power is consumed.