Set or remove the company logo
set_company_logoSet or remove the company logo shown at the top of signature request emails, signing pages and signed PDFs (company admin only; uploading needs the Team or Business+ plan, removing works on any plan). PNG, JPG, WebP or GIF (no SVG), up to 300 KB; a wide logo about 400x100 px looks best. It replaces any existing logo and applies to documents already sent. Call it with no arguments to get upload_url, a private link that works for 30 minutes: if you can run commands, upload the file with curl -F file=@logo.png "<upload_url>" (this keeps the image out of the conversation); otherwise give the link to your human to open and choose the file, and ask them to tell you when the page says "Logo saved". curl gets a JSON reply saying the logo was saved. get_account user.company_logo only shows whether some logo is set, so it cannot confirm a replacement. Only pass content_base64 for small images you already have as bytes. Logos must be uploaded: links to images elsewhere are not accepted. remove: true deletes the logo. The logo is stored in private storage and shown through signed links that cannot be guessed, which md2sign only puts in the account, emails and documents of the company.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_company_logo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| remove | No | true deletes the current logo instead of uploading one. | |
| api_key | No | An md2sign API key. When given, this call uses that key's account even if the connection is signed in as someone else, so pass it on every call when your human has more than one md2sign account (for example two businesses). Also use it if your MCP client cannot send an "Authorization: Bearer <api_key>" header. | |
| content_base64 | No | Optional. The image file's bytes, base64-encoded (a data: URL prefix is accepted). Prefer upload_url (call with no arguments) for anything but small images. |