Commands › › Change Text Type
Change Text Type
Coming soon
Before you run this
Active document must be open. A valid TextNote element must exist with the given ID. The target TextNoteType must exist in the document.
After it runs
The TextNote's type is changed to the specified TextNoteType. Result JSON is stored in LastQueryResult.
When to use this
- User wants to change the font/style of a specific text note.
- User wants to standardise text note types across a sheet.
- AI needs to batch-update text formatting after a template change.
Don't use this when
Creating new text notes (use PlaceTextNoteCommand). Changing text content (use EditTextNoteContentCommand). Changing all text notes in view at once (use ChangeAllTextTypesInViewCommand).
Inputs
| Name | Kind | Type | Required | Default | Description |
|---|---|---|---|---|---|
textNoteId |
config | integer |
no | — | TextNote element ID to change |
textType |
config | string |
no | — | Target text type name |
Returns
| Name | Type | Description |
|---|---|---|
Result | JSON | Text type change result with success flag, textNoteId, textType |
What you'll see in the chat
on start
Changing the text note type...
Updating text style now...
Updating text style now...
thinking
Resolving text note element...
Finding target text type in document...
Applying type change...
Finding target text type in document...
Applying type change...
on success
Text note type changed to {textType} successfully.
on failure
Could not change text type: {error}
REST API
Not yet exposed
This command does not carry a [RestApi] attribute today. Once tagged, this section will auto-populate with:
POST /api/v1/commands/change_text_type- Request body schema (from
[RestApiParam]) - Response schema (from
[RestApiResponse]) - curl / JS / Python code examples
Keywords & intent patterns
change text type · set text style · text note type · text formatting · update text type
Patterns: change * text * type · set * text * style · update * text * type
Related
| Pillar |
|---|