Skip to content

Session Builder Node

AI/GitHub/Copilot/Session

Session Builder

Builds a complete Copilot session configuration with all options

copilot_session_builderllm
Inputs11
Outputs1
Security exposure0/10
Packagellm

Ratings

Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.

SecurityAttack surface and exposure impact.
0/10High
PrivacyPotential sensitivity of processed data.
0/10High
PerformanceRuntime or resource pressure.
0/10High
GovernancePolicy, audit, or compliance impact.
0/10High
ReliabilityOperational stability considerations.
0/10High
CostExternal or compute cost impact.
0/10High

Input Pins

11

Model

String
model

Optional model ID to use (e.g., gpt-4o)

Streaming

Boolean
streaming

Enable streaming responses

Default true

System Message

String
system_message

Optional system message content

System Mode

String
system_mode

Replace or Append to default system message

Default replace
replaceappend

Infinite Session

Boolean
infinite_enabled

Enable infinite sessions with automatic context compaction

Default true

Background Threshold

Float
background_threshold

Background compaction threshold (0.0-1.0)

Default 0.7

Exhaustion Threshold

Float
exhaustion_threshold

Buffer exhaustion threshold (0.0-1.0)

Default 0.9

Provider

Struct
provider

Optional BYOK provider configuration

ProviderConfigProviderConfig3 fields
base_urlstringrequired

Provider API base URL

api_keystring | null

API key (optional)

modelstring | null

Model override

Tools

Struct Array
tools

Optional array of tool configurations

CopilotToolConfigCopilotToolConfig3 fields
namestringrequired

Tool name

descriptionstringrequired

Tool description

schemavaluerequired

JSON schema for tool parameters

Custom Agents

Struct Array
custom_agents

Optional array of custom agent configurations

CustomAgentConfigCustomAgentConfig6 fields
namestringrequired

Agent identifier

display_namestring | null

Display name

descriptionstring | null

Description

promptstringrequired

Agent system prompt

modelstring | null

Model override for this agent

mcp_serversobject

MCP servers for this agent

MCP Servers

Generic
mcp_servers

Optional MCP servers configuration (JSON object)

Output Pins

1

Config

Struct
config

Complete session configuration

CopilotSessionConfigCopilotSessionConfig9 fields
modelstring | null

Model ID override

streamingboolean

Enable streaming responses

default true
request_permissionboolean | null

Request permission for actions

system_messageanyOf (2)

System message configuration

variant 1SystemMessageConfigvariant

System message configuration

contentstringrequired

System message content

modeSystemMessageMode

How to apply the message: Replace or Append

enum "replace", "append"default "replace"
variant 2nullvariant
infinite_sessionsanyOf (2)

Infinite session configuration

variant 1InfiniteSessionConfigvariant

Infinite session configuration for automatic context compaction

enabledboolean

Enable infinite sessions

default true
background_compaction_thresholdnumber | null

Background compaction threshold (0.0 to 1.0)

format double
buffer_exhaustion_thresholdnumber | null

Buffer exhaustion threshold (0.0 to 1.0)

format double
variant 2nullvariant
mcp_serversobject

MCP servers configuration

custom_agentsArray<CustomAgentConfig>

Custom agents configuration

itemsCustomAgentConfigarray item

Custom agent configuration

namestringrequired

Agent identifier

display_namestring | null

Display name

descriptionstring | null

Description

promptstringrequired

Agent system prompt

modelstring | null

Model override for this agent

+1 more fields
toolsArray<CopilotToolConfig>

Tools configuration

itemsCopilotToolConfigarray item

Tool configuration for Copilot

namestringrequired

Tool name

descriptionstringrequired

Tool description

schemavaluerequired

JSON schema for tool parameters

provideranyOf (2)

Provider configuration (BYOK)

variant 1ProviderConfigvariant

Provider configuration for BYOK (Bring Your Own Key)

base_urlstringrequired

Provider API base URL

api_keystring | null

API key (optional)

modelstring | null

Model override

variant 2nullvariant
Schema enforced

Node Info

Internal name
copilot_session_builder
Category
AI/GitHub/Copilot/Session