AxFunction
type AxFunction = object;Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L390
Properties
componentId?
optional componentId: string;Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L393
description
description: string;Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L392
func
func: AxFunctionHandler;Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L412
name
name: string;Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L391
namespace?
optional namespace: string;Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L396
parameters?
optional parameters: AxFunctionJSONSchema;Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L394
protocol?
optional protocol:
| {
annotations?: Record<string, unknown>;
kind: "mcp";
meta?: Record<string, unknown>;
name: string;
namespace: string;
}
| {
kind: "ucp";
meta?: Record<string, unknown>;
name: string;
namespace: string;
};Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L398
Native protocol identity retained independently of provider tool names.
returns?
optional returns: AxFunctionJSONSchema;Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L395