Interface: ForgeToolInput
Defined in: packages/agentos/src/cognition/emergent/ForgeToolMetaTool.ts:47
Input arguments accepted by the forge_tool meta-tool.
Mirrors ForgeToolRequest but typed as a Record<string, any> to
satisfy the ITool generic constraint while retaining semantic clarity.
Extends
Record<string,any>
Indexable
[key: string]: any
Properties
description
description:
string
Defined in: packages/agentos/src/cognition/emergent/ForgeToolMetaTool.ts:55
Natural language description of the tool's purpose.
implementation
implementation: {
mode:"compose";steps:object[]; } | {allowlist:string[];code:string;mode:"sandbox"; }
Defined in: packages/agentos/src/cognition/emergent/ForgeToolMetaTool.ts:67
Implementation specification — either compose (chain existing tools) or
sandbox (arbitrary code). Discriminated on the mode field.
inputSchema
inputSchema:
JSONSchemaObject
Defined in: packages/agentos/src/cognition/emergent/ForgeToolMetaTool.ts:58
JSON Schema for the tool's input arguments.
justification?
optionaljustification:unknown
Defined in: packages/agentos/src/cognition/emergent/ForgeToolMetaTool.ts:92
Optional: the forging agent's own statement of the gap the tool fills, a
string when the agent follows the schema's description. Any JSON value is
accepted. The forge's trace records it: a string as given, cut to its cap;
any other value as its JSON-safe text; a cut one with its path in the
trace's sizes.cut. The judge does not read it.
name
name:
string
Defined in: packages/agentos/src/cognition/emergent/ForgeToolMetaTool.ts:52
Machine-readable name for the new tool: an ASCII letter, then ASCII letters, digits, underscores and hyphens,
at most 200 characters. Any other name is refused before the forge runs (see forgedToolNameProblem).
outputSchema?
optionaloutputSchema:JSONSchemaObject
Defined in: packages/agentos/src/cognition/emergent/ForgeToolMetaTool.ts:61
JSON Schema for the tool's expected output (optional).
testCases
testCases:
object[]
Defined in: packages/agentos/src/cognition/emergent/ForgeToolMetaTool.ts:78
One or more test cases for the judge to evaluate.
Each has an input object and optional expectedOutput.
expectedOutput?
optionalexpectedOutput:unknown
input
input:
Record<string,unknown>
responses?
optionalresponses:ForgeTestResponse[]
stepOutputs?
optionalstepOutputs:Record<string,unknown>