Documentation / @agentick/shared / splitMessage
Function: splitMessage() ​
splitMessage(
text,options):string[]
Defined in: split-message.ts:18
Split text to fit within a platform's character limit.
Greedy algorithm: finds the last occurrence of the highest-priority split point before maxLength, splits there, repeats for the remainder.
Parameters ​
text ​
string
options ​
Returns ​
string[]