step schema
- Source:
api/schemas/step.json - Type:
object - Required properties:
id,type,inputs
Properties
| Property | Type | Required | Notes |
|---|---|---|---|
execution | object | No | |
id | string | Yes | format: uuid |
inputs | object | Yes | |
policy | object | No | |
type | enum (llm, tool, map, reduce, branch, replay, agent) | Yes | allowed values: llm, tool, map, reduce, branch, replay, agent |
Additional properties are not allowed.
Definitions
contextSource
| Property | Type | Required | Notes |
|---|---|---|---|
key | string | No | |
kind | enum (memory:kv, memory:vector, artifact, input) | Yes | allowed values: memory:kv, memory:vector, artifact, input |
namespace | string | No | |
query | string | No | |
top_k | integer | No |
toolSpec
| Property | Type | Required | Notes |
|---|---|---|---|
description | string | Yes | |
name | string | Yes | |
schema | object | Yes |