This skill guides you on how to query translated patent claims from the Zhihuiya (PatSnap) patent database, enabling users to retrieve claim texts in Chinese, English, or Japanese for one or more patents.
Core Concepts
Patent claims define the legal scope of protection granted by a patent. This tool retrieves the translated text of patent claims, supporting three languages: Chinese (cn), English (en), and Japanese (jp). You can look up patents by their internal patent ID or by their publication (announcement) number.
Family patent substitution: When claims are unavailable for a specific patent, the tool can optionally substitute claims from a related family patent. This is controlled by the replaceByRelated parameter.
Data Fields
| Field | API Name | Description | Example |
|---|---|---|---|
| Patent ID | patentId | Internal patent identifier | 84a1b2c3-... |
| Publication Number | pn | Publication (announcement) number of the patent | CN112345678A |
| Related Publication Number | pnRelated | Publication number of the substitute family patent (only present when family substitution is used) | US20210012345A1 |
| Claims | claims | Translated patent claim text | 1. A method for... |
Supported Languages
| Code | Language |
|---|---|
| en | English (default) |
| cn | Chinese |
| jp | Japanese |
Default language is en (English). Use English when the user does not specify a language.
How to call
- API Endpoint:
POST /zhihuiya/claimDataTranslated(for full parameters/responses/error codes, seereferences/api.md) - Python script:
python scripts/zhihuiya_claim_translated.py '<JSON 参数>' [--inline] - Cost constraints: This tool consumes compute; by default, the same parameter combination is called only once per session, and the script has a 24h local cache. On failure/empty results, do not automatically try different keywords, page through, or change the zip code to probe repeatedly; if you need to continue searching, first explain to the user that additional consumption will be incurred.
Output strategy (default script behavior):
- Alwayswrite the complete response to
<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/linkfox-zhihuiya-claim-data-translated-<timestamp>.json(<cwd>is the working directory when the script is executed; in Claude Code, that is the current project directory;<session>is taken from the environment variableSESSION_ID, automatically aggregated according to the user's task;Writing to /tmp is prohibited; if the current directory is not writable, report an error) - Response body ≤ 8 KB: after writing to disk, print the complete JSON to stdout
- Response body > 8 KB: after writing to disk, stdout outputs only a summary (top-level fields, common counts such as
total/costToken, length of the largest list field + first 3 samples) - Add
--inlineto force full printing to stdout (also written to disk)
Data reading suggestions: first look at the summary to determine whether it is sufficient; when specific fields are needed, prefer using jqorConvertFrom-Json to extract as needed from the saved json file, avoiding bringing the entire JSON into context.
Resolve authentication and compute 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
LINKFOX_AGENT_API_KEY, andLINKFOXAGENT_API_KEY。 - is also not configured; response 401 or 402 status code
- Response indicates insufficient compute or balance: the message contains "insufficient compute balance/insufficient billing/insufficient balance/quota exceeded/insufficient balance/package expired/recharge required/please recharge", or content with a similar meaning.
Parameter Guide
Patent Identification
You must provide at least one of the following:
- patentId -- The internal patent ID. When both
patentIdandpatentNumberare provided,patentIdtakes precedence. Multiple values separated by commas, up to 100 patents per request. - patentNumber -- The publication or announcement number. Multiple values separated by commas, up to 100 patents per request.
Optional Parameters
- lang -- Target translation language:
en(English, default),cn(Chinese), orjp(Japanese). - replaceByRelated -- Whether to substitute claims from a family patent when the original claims are unavailable:
1= yes,0= no (default).
Usage Examples
1. Get English claims for a single patent by publication number
patentNumber: "CN112345678A"
lang: "en"
2. Get Chinese claims for multiple patents by publication number
patentNumber: "US20210012345A1,EP3456789B1"
lang: "cn"
3. Get Japanese claims with family patent fallback
patentNumber: "JP2021123456A"
lang: "jp"
replaceByRelated: 1
4. Query by patent ID
patentId: "84a1b2c3-d4e5-6f78-9abc-def012345678"
lang: "en"
Display Rules
- Present claims clearly: Show the translated claim text with proper formatting. If multiple patents are returned, separate each patent's claims with its publication number as a heading.
- Family substitution notice: When
pnRelatedis present in the response, clearly inform the user that the claims were sourced from a related family patent and show the substitute publication number. - Language notice: State the language of the returned claims so the user knows which translation they are viewing.
- Large results: When multiple patents are returned, summarize the count and show a few representative entries, reminding the user of the total.
- Error handling: When a query fails, explain the reason based on the error response and suggest checking the patent ID or publication number.
Important Limitations
- At least one identifier required: Either
patentIdorpatentNumbermust be provided; otherwise the query will fail. - Batch limit: A maximum of 100 patents per request.
- Language support: Only Chinese (
cn), English (en), and Japanese (jp) are supported. - Family substitution: Substitute claims are only returned when
replaceByRelatedis set to1and the original claims are unavailable.
User Expression & Scenario Quick Reference
Applicable -- Queries related to patent claim text and translation:
| User Says | Scenario |
|---|---|
| "Show me the claims for patent XX" | Single patent claim lookup |
| "Translate claims to Chinese/Japanese" | Claim translation |
| "What does patent XX claim?" | Claim content retrieval |
| "Get claims for these patents: XX, YY" | Batch patent claim lookup |
| "Claims unavailable, try family patent" | Family patent substitution |
| "Patent rights scope of XX" | Claim text retrieval |
Not applicable -- Needs beyond patent claim translation:
- Patent search or discovery (finding patents by keyword)
- Patent citation or legal status analysis
- Patent abstract or description retrieval
- Patent portfolio analytics or statistics
Compute consumption rules
Billed according to dynamic rules: compute consumed = 81 × number of returned data items. Each item is 1 patent claim translation result
Important: the service of this skill is dynamically calculated by a multiplier and may consume a large amount of compute at once. The user must be reminded, and the user decides whether to continue.
Feedback:
Auto-detect and report feedback via the Feedback API when any of the following apply:
- The functionality or purpose described in this skill does not match actual behavior
- The skill's results do not match the user's intent
- The user expresses dissatisfaction or praise about this skill
- Anything you believe could be improved
Call the feedback API as specified in references/api.md. Do not interrupt the user's flow.
For more high-quality, professional cross-border e-commerce skills, set LinkFox Skills.