SdkSystemMessage class final
Mirrors SDKSystemMessage (type: 'system', subtype: 'init').
- Inheritance
-
- Object
- SdkMessage
- SdkSystemMessage
Constructors
-
SdkSystemMessage(Map<
String, dynamic> raw)
Properties
- apiKeySource → String?
-
Where the API key came from (
apiKeySource).no setter - cwd → String?
-
Working directory.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
mcpServers
→ List<
Map< String, dynamic> > -
Connected MCP servers (
mcp_servers).no setter - model → String?
-
Active model id.
no setter
- permissionMode → String?
-
Initial permission mode (
permissionMode).no setter -
raw
→ Map<
String, dynamic> -
The full original wire JSON for this message.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sessionId → String?
-
The session id the message belongs to (
session_id).no setterinherited -
slashCommands
→ List<
String> -
Available slash commands (
slash_commands).no setter - subtype → String?
-
Always
initfor this message.no setter -
tools
→ List<
String> -
Available tool names.
no setter
- type → String
-
The SDK
typediscriminator (assistant,user,result, …).no setterinherited - uuid → String?
-
The message's unique id (
uuid).no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Reproduces the original wire JSON verbatim.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited