Agent
Example Usage
typescript
import { Agent } from "@meetkai/mka1/models/components";
let value: Agent = {
object: "agent",
id: "<id>",
name: "<value>",
description: "unlike beside moist unto league with till per rear license",
model: "functionary-pt",
instructions: "<value>",
tools: [
{
type: "file_search",
},
],
toolChoice: {
"key": 3301.98,
},
parallelToolCalls: false,
maxToolCalls: 197260,
text: {},
reasoning: {},
metadata: {
"key": "<value>",
"key1": "<value>",
},
createdAt: new Date("2025-01-23T12:18:08.641Z"),
updatedAt: new Date("2025-06-09T08:04:10.745Z"),
deletedAt: new Date("2025-01-16T18:27:48.556Z"),
};Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
object | components.AgentObject | ✔️ | N/A | |
id | string | ✔️ | N/A | |
name | string | ✔️ | N/A | |
description | string | ✔️ | N/A | |
model | string | ✔️ | N/A | functionary-pt |
instructions | string | ✔️ | N/A | |
tools | components.ToolDefinition[] | ✔️ | N/A | |
toolChoice | components.JsonValue | ✔️ | N/A | |
parallelToolCalls | boolean | ✔️ | N/A | |
maxToolCalls | number | ✔️ | N/A | |
text | components.AgentTextConfiguration | ✔️ | N/A | |
reasoning | components.AgentReasoningConfiguration | ✔️ | N/A | |
metadata | Record<string, string> | ✔️ | N/A | |
createdAt | Date | ✔️ | N/A | |
updatedAt | Date | ✔️ | N/A | |
deletedAt | Date | ✔️ | N/A |