You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add new microCMS Management API tools and update server handling
- Introduced `getListMeta` and `getContentMeta` functions for retrieving lists and specific content with metadata.
- Added `patchContentStatus` and `patchContentCreatedBy` functions to update content status and creator.
- Updated `manifest.json` to include new tools: `microcms_get_list_meta`, `microcms_get_content_meta`, `microcms_patch_content_status`, and `microcms_patch_content_created_by`.
- Enhanced server request handling to support the new functionalities.
Copy file name to clipboardExpand all lines: manifest.json
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -28,10 +28,18 @@
28
28
"name": "microcms_get_list",
29
29
"description": "Get a list of content from microCMS with filtering and search capabilities"
30
30
},
31
+
{
32
+
"name": "microcms_get_list_meta",
33
+
"description": "Get a list of contents with metadata from microCMS Management API. Use ONLY when user message contains \"メタ\" or \"メタ情報\". Returns metadata like status, createdBy, updatedBy, reservationTime, closedAt, and customStatus."
34
+
},
31
35
{
32
36
"name": "microcms_get_content",
33
37
"description": "Get a specific content item from microCMS"
34
38
},
39
+
{
40
+
"name": "microcms_get_content_meta",
41
+
"description": "Get a specific content with metadata from microCMS Management API. Use ONLY when user message contains \"メタ\" or \"メタ情報\". Returns metadata like status, createdBy, updatedBy, reservationTime, closedAt, and customStatus."
42
+
},
35
43
{
36
44
"name": "microcms_create_content_published",
37
45
"description": "Create new published content in microCMS"
@@ -52,6 +60,14 @@
52
60
"name": "microcms_patch_content",
53
61
"description": "Partially update content in microCMS"
54
62
},
63
+
{
64
+
"name": "microcms_patch_content_status",
65
+
"description": "Change content publication status in microCMS (Management API). Can change status between PUBLISH and DRAFT"
66
+
},
67
+
{
68
+
"name": "microcms_patch_content_created_by",
69
+
"description": "Change content creator in microCMS (Management API). Updates the createdBy field of a content item to a specified member ID"
description: 'Get a specific content with metadata from microCMS Management API. IMPORTANT: Use this tool ONLY when the user message contains "メタ" (meta) or "メタ情報" (metadata). This API returns metadata information such as status, createdBy, updatedBy, reservationTime, closedAt, and customStatus that are not available in the regular content API. For regular content retrieval, use microcms_get_content instead.',
8
+
inputSchema: {
9
+
type: 'object',
10
+
properties: {
11
+
endpoint: {
12
+
type: 'string',
13
+
description: 'Content type name (e.g., "blogs", "news")',
description: 'Get a list of contents with metadata from microCMS Management API. IMPORTANT: Use this tool ONLY when the user message contains "メタ" (meta) or "メタ情報" (metadata). This API returns metadata information such as status, createdBy, updatedBy, reservationTime, closedAt, and customStatus that are not available in the regular content API. For regular content retrieval, use microcms_get_list instead.',
8
+
inputSchema: {
9
+
type: 'object',
10
+
properties: {
11
+
endpoint: {
12
+
type: 'string',
13
+
description: 'Content type name (e.g., "blogs", "news")',
14
+
},
15
+
limit: {
16
+
type: 'number',
17
+
description: 'Number of contents to retrieve (default: 10, max: 100)',
18
+
minimum: 1,
19
+
maximum: 100,
20
+
},
21
+
offset: {
22
+
type: 'number',
23
+
description: 'Offset for pagination (default: 0)',
description: 'Get a list of contents with metadata from microCMS Management API. IMPORTANT: Use this tool ONLY when the user message contains "メタ" (meta) or "メタ情報" (metadata). This API returns metadata information such as status, createdBy, updatedBy, reservationTime, closedAt, and customStatus that are not available in the regular content API. For regular content retrieval, use microcms_get_list instead.',
8
+
inputSchema: {
9
+
type: 'object',
10
+
properties: {
11
+
endpoint: {
12
+
type: 'string',
13
+
description: 'Content type name (e.g., "blogs", "news")',
14
+
},
15
+
limit: {
16
+
type: 'number',
17
+
description: 'Number of contents to retrieve (default: 10, max: 100)',
18
+
minimum: 1,
19
+
maximum: 100,
20
+
},
21
+
offset: {
22
+
type: 'number',
23
+
description: 'Offset for pagination (default: 0)',
description: 'Change content creator in microCMS (Management API). Updates the createdBy field of a content item to a specified member ID. Member ID can be found in the member detail screen in the management console.',
8
+
inputSchema: {
9
+
type: 'object',
10
+
properties: {
11
+
endpoint: {
12
+
type: 'string',
13
+
description: 'Content type name (e.g., "blogs", "news")',
14
+
},
15
+
contentId: {
16
+
type: 'string',
17
+
description: 'Content ID to change creator',
18
+
},
19
+
createdBy: {
20
+
type: 'string',
21
+
description: 'Member ID to set as the creator. Member ID can be found in the member detail screen in the management console.',
0 commit comments