upload_image
Upload images to SparkSheets using Base64 encoded data or a local file path, and receive a markdown image tag for integration.
Instructions
画像をSparkSheetsにアップロード。Base64またはファイルパスを指定。戻り値にMarkdown形式の画像タグを含む
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": "upload_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Base64エンコードされた画像データ(data:image/png;base64,...形式も可) | |
| file_path | No | ローカルファイルパス(dataの代わりに指定可能) | |
| type | No | 画像タイプ: attachment(デフォルト), spark_icon, template_thumbnail, pack_thumbnail, creator_avatar | attachment |