last update ...
This commit is contained in:
@@ -6,8 +6,8 @@ Request:
|
||||
|
||||
```json
|
||||
{
|
||||
"password": "s@H@1694056",
|
||||
"userSelectBy": "admin"
|
||||
"password": "s@H@1694056",
|
||||
"userSelectBy": "admin"
|
||||
}
|
||||
```
|
||||
|
||||
@@ -15,9 +15,9 @@ Response:
|
||||
|
||||
```json
|
||||
{
|
||||
"accessToken": "A6590CF564437A98E8F74C72E8F2EBDD8ECCFFB345D23AAC47784350E61A0140",
|
||||
"refreshToken": "C2A8FEBCCFF737397F83F2A76CF8511EF323C7F1F4733AB882B66D51AEDFB733",
|
||||
"expiresAt": 1793628969
|
||||
"accessToken": "D1A26228AA59CBD5D7E6705FFB2DF9003B630DFF87C33FD6871FB236B471712A",
|
||||
"refreshToken": "4BECF35FFC67D67B859E6239EF2EE24EB2C74FED7E3C91ADAE6EF884C79CD15B",
|
||||
"expiresAt": 1793908550
|
||||
}
|
||||
```
|
||||
|
||||
@@ -43,12 +43,12 @@ Response:
|
||||
|
||||
```json
|
||||
{
|
||||
"sessionId": "36e4d6e4-768f-4622-90d7-f79af449df9d",
|
||||
"filesCount": 9,
|
||||
"chunksCount": 208,
|
||||
"totalVectorsCount": 208,
|
||||
"skippedFiles": [],
|
||||
"expiresAtUtc": "2026-11-02T13:48:15.7779591Z"
|
||||
"sessionId": "36e4d6e4-768f-4622-90d7-f79af449df9d",
|
||||
"filesCount": 9,
|
||||
"chunksCount": 208,
|
||||
"totalVectorsCount": 208,
|
||||
"skippedFiles": [],
|
||||
"expiresAtUtc": "2026-11-02T13:48:15.7779591Z"
|
||||
}
|
||||
```
|
||||
|
||||
@@ -58,10 +58,10 @@ Request:
|
||||
|
||||
```json
|
||||
{
|
||||
"sessionId": "36e4d6e4-768f-4622-90d7-f79af449df9d",
|
||||
"prompt": "give me an overview of an ai system architecture",
|
||||
"topK": 5,
|
||||
"minScore": 0.35
|
||||
"sessionId": "36e4d6e4-768f-4622-90d7-f79af449df9d",
|
||||
"prompt": "give me an overview of an ai system architecture",
|
||||
"topK": 5,
|
||||
"minScore": 0.35
|
||||
}
|
||||
```
|
||||
|
||||
@@ -85,106 +85,106 @@ Response:
|
||||
|
||||
```json
|
||||
[
|
||||
{
|
||||
"scope": 2,
|
||||
"scopeId": null,
|
||||
"type": "XAiKnowledge",
|
||||
"fileName": "1-ParsaPolimer-RFP-Analythic.html",
|
||||
"mimeType": "text/html",
|
||||
"ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969",
|
||||
"chunksCount": 18,
|
||||
"ingestedAtUtc": "2026-11-02T05:48:59.5176187Z"
|
||||
},
|
||||
{
|
||||
"scope": 2,
|
||||
"scopeId": null,
|
||||
"type": "XAiKnowledge",
|
||||
"fileName": "2-ParsaPolimer-BigArchitecture.html",
|
||||
"mimeType": "text/html",
|
||||
"ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969",
|
||||
"chunksCount": 21,
|
||||
"ingestedAtUtc": "2026-11-02T05:48:59.5176187Z"
|
||||
},
|
||||
{
|
||||
"scope": 2,
|
||||
"scopeId": null,
|
||||
"type": "XAiKnowledge",
|
||||
"fileName": "3-ParsaPolimer-BPMN2.html",
|
||||
"mimeType": "text/html",
|
||||
"ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969",
|
||||
"chunksCount": 9,
|
||||
"ingestedAtUtc": "2026-11-02T05:48:59.5176187Z"
|
||||
},
|
||||
{
|
||||
"scope": 2,
|
||||
"scopeId": null,
|
||||
"type": "XAiKnowledge",
|
||||
"fileName": "4-ParsaPolimer-Roadmap.html",
|
||||
"mimeType": "text/html",
|
||||
"ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969",
|
||||
"chunksCount": 28,
|
||||
"ingestedAtUtc": "2026-11-02T05:48:59.5176187Z"
|
||||
},
|
||||
{
|
||||
"scope": 2,
|
||||
"scopeId": null,
|
||||
"type": "XAiKnowledge",
|
||||
"fileName": "5-RoadmapSH.html",
|
||||
"mimeType": "text/html",
|
||||
"ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969",
|
||||
"chunksCount": 24,
|
||||
"ingestedAtUtc": "2026-11-02T05:48:59.5176187Z"
|
||||
},
|
||||
{
|
||||
"scope": 2,
|
||||
"scopeId": null,
|
||||
"type": "XAiKnowledge",
|
||||
"fileName": "6-ParsaPolimer-TechnicalRoadmap.html",
|
||||
"mimeType": "text/html",
|
||||
"ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969",
|
||||
"chunksCount": 28,
|
||||
"ingestedAtUtc": "2026-11-02T05:48:59.5176187Z"
|
||||
},
|
||||
{
|
||||
"scope": 2,
|
||||
"scopeId": null,
|
||||
"type": "XAiKnowledge",
|
||||
"fileName": "AI Proposal 1.html",
|
||||
"mimeType": "text/html",
|
||||
"ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969",
|
||||
"chunksCount": 26,
|
||||
"ingestedAtUtc": "2026-11-02T05:48:59.5176187Z"
|
||||
},
|
||||
{
|
||||
"scope": 2,
|
||||
"scopeId": null,
|
||||
"type": "XAiKnowledge",
|
||||
"fileName": "AI Proposal 2.html",
|
||||
"mimeType": "text/html",
|
||||
"ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969",
|
||||
"chunksCount": 28,
|
||||
"ingestedAtUtc": "2026-11-02T05:48:59.5176187Z"
|
||||
},
|
||||
{
|
||||
"scope": 2,
|
||||
"scopeId": null,
|
||||
"type": "XAiKnowledge",
|
||||
"fileName": "AI Proposal 3.html",
|
||||
"mimeType": "text/html",
|
||||
"ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969",
|
||||
"chunksCount": 26,
|
||||
"ingestedAtUtc": "2026-11-02T05:48:59.5176187Z"
|
||||
},
|
||||
{
|
||||
"scope": 2,
|
||||
"scopeId": null,
|
||||
"type": "XAiKnowledge",
|
||||
"fileName": "AirLLM-Document.html",
|
||||
"mimeType": "text/html",
|
||||
"ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969",
|
||||
"chunksCount": 8,
|
||||
"ingestedAtUtc": "2026-11-02T05:48:59.5176187Z"
|
||||
}
|
||||
{
|
||||
"scope": 2,
|
||||
"scopeId": null,
|
||||
"type": "XAiKnowledge",
|
||||
"fileName": "1-ParsaPolimer-RFP-Analythic.html",
|
||||
"mimeType": "text/html",
|
||||
"ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969",
|
||||
"chunksCount": 18,
|
||||
"ingestedAtUtc": "2026-11-02T05:48:59.5176187Z"
|
||||
},
|
||||
{
|
||||
"scope": 2,
|
||||
"scopeId": null,
|
||||
"type": "XAiKnowledge",
|
||||
"fileName": "2-ParsaPolimer-BigArchitecture.html",
|
||||
"mimeType": "text/html",
|
||||
"ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969",
|
||||
"chunksCount": 21,
|
||||
"ingestedAtUtc": "2026-11-02T05:48:59.5176187Z"
|
||||
},
|
||||
{
|
||||
"scope": 2,
|
||||
"scopeId": null,
|
||||
"type": "XAiKnowledge",
|
||||
"fileName": "3-ParsaPolimer-BPMN2.html",
|
||||
"mimeType": "text/html",
|
||||
"ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969",
|
||||
"chunksCount": 9,
|
||||
"ingestedAtUtc": "2026-11-02T05:48:59.5176187Z"
|
||||
},
|
||||
{
|
||||
"scope": 2,
|
||||
"scopeId": null,
|
||||
"type": "XAiKnowledge",
|
||||
"fileName": "4-ParsaPolimer-Roadmap.html",
|
||||
"mimeType": "text/html",
|
||||
"ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969",
|
||||
"chunksCount": 28,
|
||||
"ingestedAtUtc": "2026-11-02T05:48:59.5176187Z"
|
||||
},
|
||||
{
|
||||
"scope": 2,
|
||||
"scopeId": null,
|
||||
"type": "XAiKnowledge",
|
||||
"fileName": "5-RoadmapSH.html",
|
||||
"mimeType": "text/html",
|
||||
"ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969",
|
||||
"chunksCount": 24,
|
||||
"ingestedAtUtc": "2026-11-02T05:48:59.5176187Z"
|
||||
},
|
||||
{
|
||||
"scope": 2,
|
||||
"scopeId": null,
|
||||
"type": "XAiKnowledge",
|
||||
"fileName": "6-ParsaPolimer-TechnicalRoadmap.html",
|
||||
"mimeType": "text/html",
|
||||
"ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969",
|
||||
"chunksCount": 28,
|
||||
"ingestedAtUtc": "2026-11-02T05:48:59.5176187Z"
|
||||
},
|
||||
{
|
||||
"scope": 2,
|
||||
"scopeId": null,
|
||||
"type": "XAiKnowledge",
|
||||
"fileName": "AI Proposal 1.html",
|
||||
"mimeType": "text/html",
|
||||
"ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969",
|
||||
"chunksCount": 26,
|
||||
"ingestedAtUtc": "2026-11-02T05:48:59.5176187Z"
|
||||
},
|
||||
{
|
||||
"scope": 2,
|
||||
"scopeId": null,
|
||||
"type": "XAiKnowledge",
|
||||
"fileName": "AI Proposal 2.html",
|
||||
"mimeType": "text/html",
|
||||
"ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969",
|
||||
"chunksCount": 28,
|
||||
"ingestedAtUtc": "2026-11-02T05:48:59.5176187Z"
|
||||
},
|
||||
{
|
||||
"scope": 2,
|
||||
"scopeId": null,
|
||||
"type": "XAiKnowledge",
|
||||
"fileName": "AI Proposal 3.html",
|
||||
"mimeType": "text/html",
|
||||
"ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969",
|
||||
"chunksCount": 26,
|
||||
"ingestedAtUtc": "2026-11-02T05:48:59.5176187Z"
|
||||
},
|
||||
{
|
||||
"scope": 2,
|
||||
"scopeId": null,
|
||||
"type": "XAiKnowledge",
|
||||
"fileName": "AirLLM-Document.html",
|
||||
"mimeType": "text/html",
|
||||
"ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969",
|
||||
"chunksCount": 8,
|
||||
"ingestedAtUtc": "2026-11-02T05:48:59.5176187Z"
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
@@ -196,14 +196,14 @@ Request:
|
||||
|
||||
```json
|
||||
{
|
||||
"scope": 1,
|
||||
"headers": "",
|
||||
"enabled": true,
|
||||
"timeoutSeconds": 30,
|
||||
"name": "XAiMcpServer",
|
||||
"environmentVariables": "",
|
||||
"description": "a Simple MCP Server ...",
|
||||
"endpoint": "https://localhost:7001/mcp"
|
||||
"scope": 1,
|
||||
"headers": "",
|
||||
"enabled": true,
|
||||
"timeoutSeconds": 30,
|
||||
"name": "XAiMcpServer",
|
||||
"environmentVariables": "",
|
||||
"description": "a Simple MCP Server ...",
|
||||
"endpoint": "https://localhost:7001/mcp"
|
||||
}
|
||||
```
|
||||
|
||||
@@ -211,26 +211,26 @@ Response:
|
||||
|
||||
```json
|
||||
{
|
||||
"ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969",
|
||||
"owner": {
|
||||
"avatar": null,
|
||||
"userId": "b5713f9f-34f4-49b2-9680-b71e2b2de969",
|
||||
"username": "admin",
|
||||
"lastname": "Khazaee Asl",
|
||||
"firstname": "Hadi"
|
||||
},
|
||||
"scope": 1,
|
||||
"name": "XAiMcpServer",
|
||||
"description": "a Simple MCP Server ...",
|
||||
"enabled": true,
|
||||
"environmentVariables": "",
|
||||
"endpoint": "https://localhost:7001/mcp",
|
||||
"headers": "",
|
||||
"timeoutSeconds": 30,
|
||||
"createdOn": "2026-11-05T09:30:12.3783202Z",
|
||||
"updatedAt": "0001-01-01T00:00:00",
|
||||
"id": "fc583f76-ae11-4f63-8d4c-72927345e4e4",
|
||||
"deleted": false
|
||||
"ownerId": "b5713f9f-34f4-49b2-9680-b71e2b2de969",
|
||||
"owner": {
|
||||
"avatar": null,
|
||||
"userId": "b5713f9f-34f4-49b2-9680-b71e2b2de969",
|
||||
"username": "admin",
|
||||
"lastname": "Khazaee Asl",
|
||||
"firstname": "Hadi"
|
||||
},
|
||||
"scope": 1,
|
||||
"name": "XAiMcpServer",
|
||||
"description": "a Simple MCP Server ...",
|
||||
"enabled": true,
|
||||
"environmentVariables": "",
|
||||
"endpoint": "https://localhost:7001/mcp",
|
||||
"headers": "",
|
||||
"timeoutSeconds": 30,
|
||||
"createdOn": "2026-11-05T09:30:12.3783202Z",
|
||||
"updatedAt": "0001-01-01T00:00:00",
|
||||
"id": "fc583f76-ae11-4f63-8d4c-72927345e4e4",
|
||||
"deleted": false
|
||||
}
|
||||
```
|
||||
|
||||
@@ -242,10 +242,10 @@ Request:
|
||||
|
||||
```json
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"id": 2,
|
||||
"method": "tools/list",
|
||||
"params": {}
|
||||
"jsonrpc": "2.0",
|
||||
"id": 2,
|
||||
"method": "tools/list",
|
||||
"params": {}
|
||||
}
|
||||
```
|
||||
|
||||
@@ -253,155 +253,155 @@ Response:
|
||||
|
||||
```json
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"id": 2,
|
||||
"result": {
|
||||
"tools": [
|
||||
{
|
||||
"name": "GetCurrentDateTime",
|
||||
"description": "Get the CURRENT date and time right now. Use this tool whenever the user asks about 'today', 'now', 'current date', 'current time', or when you need the current date/time for any relative calculation (like 'three days ago', 'next week', 'how many days until...'). Returns Gregorian, Persian (Jalali), day-of-week, and Unix timestamp.",
|
||||
"inputSchema": {
|
||||
"type": "object",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"timezone": {
|
||||
"type": "string",
|
||||
"description": "Optional IANA timezone (e.g. 'Asia/Tehran', 'UTC', 'Europe/London'). Defaults to 'Asia/Tehran'."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "DetectDates",
|
||||
"description": "Detect and extract all date-like patterns from a free text. Supports Gregorian (2024-11-05), Persian (1403/08/15), Hijri (1446/05/03), ISO 8601, and month-name forms.",
|
||||
"inputSchema": {
|
||||
"type": "object",
|
||||
"required": ["text"],
|
||||
"properties": {
|
||||
"text": {
|
||||
"type": "string",
|
||||
"description": "Free text that may contain dates."
|
||||
},
|
||||
"calendarHint": {
|
||||
"type": "string",
|
||||
"description": "Optional: hint for the primary calendar (Gregorian, Persian, Hijri). Leave empty for auto-detection."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "ParseDate",
|
||||
"description": "Parse a single date string. Returns the detected calendar, plus normalized Gregorian (ISO 8601), Persian, Hijri representations, and Unix timestamp.",
|
||||
"inputSchema": {
|
||||
"type": "object",
|
||||
"required": ["date"],
|
||||
"properties": {
|
||||
"date": {
|
||||
"type": "string",
|
||||
"description": "Date string like '1403/08/15' or '2024-11-05'."
|
||||
},
|
||||
"calendarHint": {
|
||||
"type": "string",
|
||||
"description": "Optional: calendar hint (Gregorian, Persian, Hijri). Leave empty for auto-detect."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "ConvertDate",
|
||||
"description": "Convert a date from one calendar to another. Supported calendars: Gregorian, Persian (Jalali/Shamsi), Hijri (Islamic).",
|
||||
"inputSchema": {
|
||||
"type": "object",
|
||||
"required": ["date", "fromCalendar", "toCalendar"],
|
||||
"properties": {
|
||||
"date": {
|
||||
"type": "string",
|
||||
"description": "Date string in the source calendar."
|
||||
},
|
||||
"fromCalendar": {
|
||||
"type": "string",
|
||||
"description": "Source calendar: Gregorian, Persian, or Hijri."
|
||||
},
|
||||
"toCalendar": {
|
||||
"type": "string",
|
||||
"description": "Target calendar: Gregorian, Persian, or Hijri."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "DateDifference",
|
||||
"description": "Calculate the difference between two dates. Returns total days, and a breakdown into years/months/days.",
|
||||
"inputSchema": {
|
||||
"type": "object",
|
||||
"required": ["date1", "date2"],
|
||||
"properties": {
|
||||
"date1": {
|
||||
"type": "string",
|
||||
"description": "First date string."
|
||||
},
|
||||
"date2": {
|
||||
"type": "string",
|
||||
"description": "Second date string."
|
||||
},
|
||||
"calendarHint": {
|
||||
"type": "string",
|
||||
"description": "Optional: calendar hint for both dates."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "ToUnixTimestamp",
|
||||
"description": "Convert a date string to Unix timestamp (seconds since 1970-01-01 UTC).",
|
||||
"inputSchema": {
|
||||
"type": "object",
|
||||
"required": ["date"],
|
||||
"properties": {
|
||||
"date": {
|
||||
"type": "string",
|
||||
"description": "Date string."
|
||||
},
|
||||
"calendarHint": {
|
||||
"type": "string",
|
||||
"description": "Optional: calendar hint (Gregorian, Persian, Hijri)."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "FromUnixTimestamp",
|
||||
"description": "Convert a Unix timestamp (seconds since 1970-01-01 UTC) back to a date string in the specified calendar.",
|
||||
"inputSchema": {
|
||||
"type": "object",
|
||||
"required": ["timestamp"],
|
||||
"properties": {
|
||||
"timestamp": {
|
||||
"type": "integer",
|
||||
"description": "Unix timestamp in seconds."
|
||||
},
|
||||
"targetCalendar": {
|
||||
"type": "string",
|
||||
"description": "Optional: target calendar (Gregorian, Persian, Hijri). Defaults to Gregorian."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Echo",
|
||||
"description": "Echoes the string back to the client give message in string",
|
||||
"inputSchema": {
|
||||
"type": "object",
|
||||
"required": ["message"],
|
||||
"properties": {
|
||||
"message": {
|
||||
"type": "string",
|
||||
"description": "string value which specified message"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
"jsonrpc": "2.0",
|
||||
"id": 2,
|
||||
"result": {
|
||||
"tools": [
|
||||
{
|
||||
"name": "GetCurrentDateTime",
|
||||
"description": "Get the CURRENT date and time right now. Use this tool whenever the user asks about 'today', 'now', 'current date', 'current time', or when you need the current date/time for any relative calculation (like 'three days ago', 'next week', 'how many days until...'). Returns Gregorian, Persian (Jalali), day-of-week, and Unix timestamp.",
|
||||
"inputSchema": {
|
||||
"type": "object",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"timezone": {
|
||||
"type": "string",
|
||||
"description": "Optional IANA timezone (e.g. 'Asia/Tehran', 'UTC', 'Europe/London'). Defaults to 'Asia/Tehran'."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "DetectDates",
|
||||
"description": "Detect and extract all date-like patterns from a free text. Supports Gregorian (2024-11-05), Persian (1403/08/15), Hijri (1446/05/03), ISO 8601, and month-name forms.",
|
||||
"inputSchema": {
|
||||
"type": "object",
|
||||
"required": ["text"],
|
||||
"properties": {
|
||||
"text": {
|
||||
"type": "string",
|
||||
"description": "Free text that may contain dates."
|
||||
},
|
||||
"calendarHint": {
|
||||
"type": "string",
|
||||
"description": "Optional: hint for the primary calendar (Gregorian, Persian, Hijri). Leave empty for auto-detection."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "ParseDate",
|
||||
"description": "Parse a single date string. Returns the detected calendar, plus normalized Gregorian (ISO 8601), Persian, Hijri representations, and Unix timestamp.",
|
||||
"inputSchema": {
|
||||
"type": "object",
|
||||
"required": ["date"],
|
||||
"properties": {
|
||||
"date": {
|
||||
"type": "string",
|
||||
"description": "Date string like '1403/08/15' or '2024-11-05'."
|
||||
},
|
||||
"calendarHint": {
|
||||
"type": "string",
|
||||
"description": "Optional: calendar hint (Gregorian, Persian, Hijri). Leave empty for auto-detect."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "ConvertDate",
|
||||
"description": "Convert a date from one calendar to another. Supported calendars: Gregorian, Persian (Jalali/Shamsi), Hijri (Islamic).",
|
||||
"inputSchema": {
|
||||
"type": "object",
|
||||
"required": ["date", "fromCalendar", "toCalendar"],
|
||||
"properties": {
|
||||
"date": {
|
||||
"type": "string",
|
||||
"description": "Date string in the source calendar."
|
||||
},
|
||||
"fromCalendar": {
|
||||
"type": "string",
|
||||
"description": "Source calendar: Gregorian, Persian, or Hijri."
|
||||
},
|
||||
"toCalendar": {
|
||||
"type": "string",
|
||||
"description": "Target calendar: Gregorian, Persian, or Hijri."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "DateDifference",
|
||||
"description": "Calculate the difference between two dates. Returns total days, and a breakdown into years/months/days.",
|
||||
"inputSchema": {
|
||||
"type": "object",
|
||||
"required": ["date1", "date2"],
|
||||
"properties": {
|
||||
"date1": {
|
||||
"type": "string",
|
||||
"description": "First date string."
|
||||
},
|
||||
"date2": {
|
||||
"type": "string",
|
||||
"description": "Second date string."
|
||||
},
|
||||
"calendarHint": {
|
||||
"type": "string",
|
||||
"description": "Optional: calendar hint for both dates."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "ToUnixTimestamp",
|
||||
"description": "Convert a date string to Unix timestamp (seconds since 1970-01-01 UTC).",
|
||||
"inputSchema": {
|
||||
"type": "object",
|
||||
"required": ["date"],
|
||||
"properties": {
|
||||
"date": {
|
||||
"type": "string",
|
||||
"description": "Date string."
|
||||
},
|
||||
"calendarHint": {
|
||||
"type": "string",
|
||||
"description": "Optional: calendar hint (Gregorian, Persian, Hijri)."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "FromUnixTimestamp",
|
||||
"description": "Convert a Unix timestamp (seconds since 1970-01-01 UTC) back to a date string in the specified calendar.",
|
||||
"inputSchema": {
|
||||
"type": "object",
|
||||
"required": ["timestamp"],
|
||||
"properties": {
|
||||
"timestamp": {
|
||||
"type": "integer",
|
||||
"description": "Unix timestamp in seconds."
|
||||
},
|
||||
"targetCalendar": {
|
||||
"type": "string",
|
||||
"description": "Optional: target calendar (Gregorian, Persian, Hijri). Defaults to Gregorian."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Echo",
|
||||
"description": "Echoes the string back to the client give message in string",
|
||||
"inputSchema": {
|
||||
"type": "object",
|
||||
"required": ["message"],
|
||||
"properties": {
|
||||
"message": {
|
||||
"type": "string",
|
||||
"description": "string value which specified message"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
+1
-1
Submodule Modules/xAiService updated: 357bf221fa...fafc9836a2
+1
-1
Submodule Modules/xIdentityService updated: 6888c73fb8...dc34e0f809
+1
-1
Submodule xAiApi updated: ae7f5920c1...5307fe4d2f
+1
-1
Submodule xAiMcpServer updated: 9b82acaf55...2c9b10f643
+1
-1
Submodule xApi updated: 30a54fac8b...8bbd05d2c0
+1
-1
Submodule xIds updated: 3b099a3089...73a59f9181
Reference in New Issue
Block a user