ReadonlyinputProxy object providing access to skill input fields
Returns template strings like "{{input.fieldName}}"
Type returns SkillInputRef
Create a Decision node for conditional branching
Type-safe features:
targets: Array of target tool names (IntelliSense works automatically)branches.to: Constrained to values from targets arraybranches.condition.field: Accepts t.input.* (string) or tool.output (ToolOutputRef)default: Constrained to values from targets arrayUnique decision node name
Decision configuration with targets, branches, and default path
const decision = t.Decision('Router', {
$id: Now.ID['my_skill_router_decision'],
depends: [previousTool],
targets: ['PathA', 'PathB', 'PathC'],
branches: (targets) => [
{
name: 'High Priority',
to: targets.PathA, // IntelliSense: 'PathA' | 'PathB' | 'PathC'
condition: {
field: t.input.priority, // Skill input reference
operator: 'is',
value: '1'
}
},
{
name: 'Tool Output Check',
to: targets.PathB,
condition: {
field: previousTool.output, // Tool output reference
operator: 'contains',
value: 'error'
}
}
],
default: (targets) => targets.PathC // Type-safe default
})
Create a Flow Action tool Note: Inputs and outputs are DYNAMIC - they vary per flow action
Unique tool name
Tool configuration with actionId, inputs, outputs, and dependencies
Create an InlineScript tool
Note: InlineScript has NO inputs, single output accessed via tool.output
Platform reference: {{toolName.output}}
Unique tool name
Tool configuration with script and dependencies
Create a Script tool (Script Include / External Script)
Note: Input type is always 'string', single output accessed via tool.output
Platform reference: {{toolName.output}}
Unique tool name
Tool configuration with scriptId, inputs, and dependencies
Create a Skill-as-Tool Note: Input type is always 'string', Outputs have FIXED base + optional custom outputs
Unique tool name
Tool configuration with skillId, inputs, and dependencies
Create a Subflow tool Note: Inputs and outputs are DYNAMIC - they vary per subflow
Unique tool name
Tool configuration with subflowId, inputs, outputs, and dependencies
Create a WebSearch tool Note: Inputs are FIXED (two variants), Outputs are FIXED: provider, response, error, errorcode, status
Unique tool name
Tool configuration with search parameters
Tool graph builder interface providing type-safe tool creation methods Generic over skill inputs to enable input field autocomplete