hash_md5
Generate MD5 hash values from text input to verify data integrity, create checksums, or secure passwords within development workflows.
Instructions
Generate an MD5 hash of the given input string.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | The string to hash |
Implementation Reference
- src/tools/hash.ts:8-19 (handler)The tool handler for 'hash_md5', which calculates an MD5 hash using the crypto module.
server.tool( "hash_md5", "Generate an MD5 hash of the given input string.", { input: z.string().describe("The string to hash") }, async ({ input }) => ({ content: [ { type: "text" as const, text: createHash("md5").update(input).digest("hex"), }, ], })