query_company_software_copyright_info
Retrieve software copyright registration details for Chinese companies by entering their full name. Use this tool to verify copyright ownership and access official registration information.
Instructions
Query the registration information of an company's software copyrights by its full name. Please use the fuzzy query tool to obtain the company full name before calling this tool.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entName | Yes | company full name |
Implementation Reference
- src/index.ts:212-227 (handler)The handler function for the 'query_company_software_copyright_info' tool. It takes 'entName' (company full name), constructs a request with skip=0, calls the shared yushantwo API helper with product ID 'COM137', and returns the response as text content.async ({entName}) => { const requestData = { entName: entName, skip: "0" }; const prodId = "COM137"; const data = await yushantwo(requestData, prodId); return { content: [ { type: "text", text: data, }, ], }; }
- src/index.ts:209-211 (schema)Input schema for the tool, defining 'entName' as a required string parameter representing the company full name.{ entName: z.string().describe("company full name"), },
- src/index.ts:206-228 (registration)Registration of the 'query_company_software_copyright_info' tool using server.tool(), including name, description, input schema, and inline handler function.server.tool( "query_company_software_copyright_info", "Query the registration information of an company's software copyrights by its full name. Please use the fuzzy query tool to obtain the company full name before calling this tool.", { entName: z.string().describe("company full name"), }, async ({entName}) => { const requestData = { entName: entName, skip: "0" }; const prodId = "COM137"; const data = await yushantwo(requestData, prodId); return { content: [ { type: "text", text: data, }, ], }; } );