plan_speech
Designs a voice and speaking style from a scene or use case, returning a reusable plan without generating audio. Use it to preview and lock a consistent voice before speech generation.
Instructions
用途・場面(scene)から、合う声と話し方を考える(音声は作らない・プレビュー用)。
generate_speech に同じ scene を渡すと、ここで考えたプランがそのまま使われる (プランはキャッシュされ、同じ scene なら毎回同じ声になる)。 気に入らなければ replan=True で考え直すか、voice_description / style を直接指定する。
Args: scene: 音声を使う場面・用途・聞き手など(例: "AWS のイベントでのプレゼン。会場は数百人のエンジニア")。 text: 読み上げる予定の文章(任意。言語判定や雰囲気の参考にする)。 gender: 話者の性別を固定したい場合(任意。female / male / neutral)。 language_code: 言語を固定したい場合(任意。例: ja-JP)。 model: 読み上げに使う TTS モデル(任意。キャッシュの区別に使う)。 enhance_text: True なら text に間( 等)を入れた版も返す(言葉は変えない)。 replan: True ならキャッシュを使わずに考え直す。 project_id: プロジェクトID上書き(任意)。
Returns: voice_description(声の設計)/ style(話し方)/ gender / language_code / rationale(理由)/ cached(キャッシュ再利用か)/ enhanced_text(enhance_text=True のとき)
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": {
"scene": "<scene>"
},
"name": "plan_speech"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| model | No | ||
| scene | Yes | ||
| gender | No | ||
| replan | No | ||
| project_id | No | ||
| enhance_text | No | ||
| language_code | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||