set_text
set_textReplace shared note text using the observed revision. If the document version changed, the action is blocked and the latest doc is returned to guide your next intent.
Instructions
Replace the shared note text. baseRevision は意図を決めるために観測した revision(文字列)をそのまま渡す。版が変わっていたら handler を実行せず conflict と最新 doc を返す。最新 doc を見て意図を見直すこと。同じ引数を新しい版で自動再送しない。通信エラーは適用結果が不明な場合がある。まず await_change で現在の状態を確認する。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| baseRevision | Yes | 意図を決めるために観測した revision をそのまま渡す。数値の旧形式は使えない。版が変われば実行前に conflict。 |