sign_message
Sign a message with a private key using the personal_sign (EIP-191) standard to authenticate and verify ownership.
Instructions
Sign a message using personal_sign (EIP-191)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"message": "<message>",
"privateKey": "<privateKey>"
},
"name": "sign_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | Message to sign | |
| privateKey | Yes | Private key in hex format (with or without 0x prefix). SECURITY: This is used only for address derivation and is not stored. The private key will not be logged or displayed in chat history. |