Patent PreCheck — prior-art density and risk profile
precheck_scoreRun a prior-art density / risk-profile pre-check on source code or an invention description. Returns a 0–100 directional score across the four USPTO statutory pillars (§101 eligibility, §102 novelty, §103 non-obviousness, §101 utility), a separate §112 filing-readiness signal, the band (Not Ready → File Ready), the pillar that holds the band back, opportunities to thicken the technical description, and a count of prior-art matches consulted. Show filename + size and get user yes, then pass confirm_upload: true. Pass the text inline via code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The source code or invention description to analyze (>= 10 chars). | |
| tier | No | Analysis tier. Defaults to free; paid tiers require server-side entitlement. | |
| filename | No | Optional filename hint (e.g. main.ts) used for language/context. | |
| confirm_upload | Yes | Required true after the user confirms filename + size. Nothing is uploaded without it. | |
| invention_kind | No | Optional invention category. Sets language and scoring prompts. Prior-art math still follows the disclosure. |