mcp-wordpress 1.3.1 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/README.md +149 -789
  2. package/dist/mcp-wordpress-1.4.0.tgz +0 -0
  3. package/docs/DOCKER.md +8 -1
  4. package/docs/api/README.md +82 -75
  5. package/docs/api/categories/site.md +2 -0
  6. package/docs/api/tools/wp_approve_comment.md +0 -6
  7. package/docs/api/tools/wp_cache_clear.md +5 -14
  8. package/docs/api/tools/wp_cache_info.md +5 -14
  9. package/docs/api/tools/wp_cache_stats.md +5 -14
  10. package/docs/api/tools/wp_cache_warm.md +5 -14
  11. package/docs/api/tools/wp_create_application_password.md +3 -11
  12. package/docs/api/tools/wp_create_category.md +3 -11
  13. package/docs/api/tools/wp_create_comment.md +5 -14
  14. package/docs/api/tools/wp_create_page.md +5 -13
  15. package/docs/api/tools/wp_create_post.md +6 -12
  16. package/docs/api/tools/wp_create_tag.md +3 -11
  17. package/docs/api/tools/wp_create_user.md +5 -13
  18. package/docs/api/tools/wp_delete_application_password.md +3 -11
  19. package/docs/api/tools/wp_delete_category.md +3 -11
  20. package/docs/api/tools/wp_delete_comment.md +3 -11
  21. package/docs/api/tools/wp_delete_media.md +3 -10
  22. package/docs/api/tools/wp_delete_page.md +3 -10
  23. package/docs/api/tools/wp_delete_post.md +4 -9
  24. package/docs/api/tools/wp_delete_tag.md +3 -11
  25. package/docs/api/tools/wp_delete_user.md +3 -10
  26. package/docs/api/tools/wp_get_application_passwords.md +3 -11
  27. package/docs/api/tools/wp_get_auth_status.md +3 -11
  28. package/docs/api/tools/wp_get_category.md +3 -11
  29. package/docs/api/tools/wp_get_comment.md +3 -11
  30. package/docs/api/tools/wp_get_current_user.md +3 -11
  31. package/docs/api/tools/wp_get_media.md +3 -11
  32. package/docs/api/tools/wp_get_page.md +3 -11
  33. package/docs/api/tools/wp_get_page_revisions.md +3 -11
  34. package/docs/api/tools/wp_get_post.md +4 -10
  35. package/docs/api/tools/wp_get_post_revisions.md +3 -11
  36. package/docs/api/tools/wp_get_site_settings.md +3 -10
  37. package/docs/api/tools/wp_get_tag.md +3 -11
  38. package/docs/api/tools/wp_get_user.md +3 -11
  39. package/docs/api/tools/wp_list_categories.md +3 -11
  40. package/docs/api/tools/wp_list_comments.md +3 -11
  41. package/docs/api/tools/wp_list_media.md +5 -14
  42. package/docs/api/tools/wp_list_pages.md +5 -14
  43. package/docs/api/tools/wp_list_posts.md +6 -13
  44. package/docs/api/tools/wp_list_tags.md +3 -11
  45. package/docs/api/tools/wp_list_users.md +3 -11
  46. package/docs/api/tools/wp_performance_alerts.md +7 -17
  47. package/docs/api/tools/wp_performance_benchmark.md +7 -17
  48. package/docs/api/tools/wp_performance_export.md +7 -17
  49. package/docs/api/tools/wp_performance_history.md +7 -17
  50. package/docs/api/tools/wp_performance_optimize.md +7 -17
  51. package/docs/api/tools/wp_performance_stats.md +7 -17
  52. package/docs/api/tools/wp_search_site.md +3 -11
  53. package/docs/api/tools/wp_spam_comment.md +3 -11
  54. package/docs/api/tools/wp_switch_auth_method.md +5 -14
  55. package/docs/api/tools/wp_test_auth.md +3 -11
  56. package/docs/api/tools/wp_update_category.md +3 -11
  57. package/docs/api/tools/wp_update_comment.md +5 -14
  58. package/docs/api/tools/wp_update_media.md +5 -14
  59. package/docs/api/tools/wp_update_page.md +5 -13
  60. package/docs/api/tools/wp_update_post.md +6 -12
  61. package/docs/api/tools/wp_update_site_settings.md +5 -14
  62. package/docs/api/tools/wp_update_tag.md +3 -11
  63. package/docs/api/tools/wp_update_user.md +5 -13
  64. package/docs/api/tools/wp_upload_media.md +5 -13
  65. package/docs/api/types/WordPressPost.md +0 -2
  66. package/docs/developer/API_REFERENCE.md +628 -0
  67. package/docs/developer/ARCHITECTURE.md +374 -0
  68. package/docs/developer/BUILD_SYSTEM.md +465 -0
  69. package/docs/developer/CONTRIBUTING.md +463 -0
  70. package/docs/developer/DEVELOPMENT_SETUP.md +463 -0
  71. package/docs/developer/GITHUB_ACTIONS_SETUP.md +2 -1
  72. package/docs/developer/MAINTENANCE.md +5 -5
  73. package/docs/developer/MIGRATION_GUIDE.md +7 -5
  74. package/docs/developer/NPM_AUTH_SETUP.md +4 -4
  75. package/docs/developer/README.md +219 -0
  76. package/docs/developer/REFACTORING.md +15 -10
  77. package/docs/developer/RELEASE_PROCESS.md +523 -0
  78. package/docs/developer/TESTING.md +730 -0
  79. package/docs/releases/COMMUNITY_ANNOUNCEMENT_v1.1.2.md +9 -3
  80. package/docs/releases/RELEASE_NOTES_v1.1.2.md +4 -4
  81. package/docs/user-guides/DOCKER_SETUP.md +2 -2
  82. package/docs/user-guides/DTX_SETUP.md +3 -3
  83. package/docs/user-guides/NPX_SETUP.md +2 -2
  84. package/package.json +2 -2
  85. package/dist/mcp-wordpress-1.3.1.tgz +0 -0
@@ -17,11 +17,13 @@ Retrieves a single comment by its ID.
17
17
  Simple example of using wp_get_comment
18
18
 
19
19
  **Command:**
20
+
20
21
  ```bash
21
22
  wp_get_comment --id="123"
22
23
  ```
23
24
 
24
25
  **Response:**
26
+
25
27
  ```json
26
28
  {
27
29
  "success": true,
@@ -36,6 +38,7 @@ wp_get_comment --id="123"
36
38
  ```
37
39
 
38
40
  **Error Example (Authentication failure):**
41
+
39
42
  ```json
40
43
  {
41
44
  "error": "Authentication failed",
@@ -43,11 +46,6 @@ wp_get_comment --id="123"
43
46
  }
44
47
  ```
45
48
 
46
-
47
-
48
-
49
-
50
-
51
49
  ## Response Format
52
50
 
53
51
  **Return Type:** `comment`
@@ -74,30 +72,24 @@ wp_get_comment --id="123"
74
72
  **Description:** Invalid credentials or insufficient permissions
75
73
  **Resolution:** Check your authentication credentials and user permissions
76
74
 
77
-
78
75
  ### VALIDATION_ERROR
79
76
 
80
77
  **Message:** Parameter validation failed
81
78
  **Description:** One or more required parameters are missing or invalid
82
79
  **Resolution:** Review the required parameters and their formats
83
80
 
84
-
85
81
  ### NOT_FOUND
86
82
 
87
83
  **Message:** Resource not found
88
84
  **Description:** The requested resource does not exist
89
85
  **Resolution:** Verify the resource ID and ensure it exists
90
86
 
91
-
92
87
  ### PERMISSION_DENIED
93
88
 
94
89
  **Message:** Insufficient permissions
95
90
  **Description:** The user does not have permission to perform this action
96
91
  **Resolution:** Contact an administrator to grant the necessary permissions
97
92
 
98
-
99
-
100
-
101
93
  ---
102
94
 
103
95
  *Generated automatically from tool definitions - Do not edit manually*
@@ -15,11 +15,13 @@ Retrieves the currently authenticated user.
15
15
  Simple example of using wp_get_current_user
16
16
 
17
17
  **Command:**
18
+
18
19
  ```bash
19
20
  wp_get_current_user
20
21
  ```
21
22
 
22
23
  **Response:**
24
+
23
25
  ```json
24
26
  {
25
27
  "success": true,
@@ -34,6 +36,7 @@ wp_get_current_user
34
36
  ```
35
37
 
36
38
  **Error Example (Authentication failure):**
39
+
37
40
  ```json
38
41
  {
39
42
  "error": "Authentication failed",
@@ -41,11 +44,6 @@ wp_get_current_user
41
44
  }
42
45
  ```
43
46
 
44
-
45
-
46
-
47
-
48
-
49
47
  ## Response Format
50
48
 
51
49
  **Return Type:** `user`
@@ -72,30 +70,24 @@ wp_get_current_user
72
70
  **Description:** Invalid credentials or insufficient permissions
73
71
  **Resolution:** Check your authentication credentials and user permissions
74
72
 
75
-
76
73
  ### VALIDATION_ERROR
77
74
 
78
75
  **Message:** Parameter validation failed
79
76
  **Description:** One or more required parameters are missing or invalid
80
77
  **Resolution:** Review the required parameters and their formats
81
78
 
82
-
83
79
  ### NOT_FOUND
84
80
 
85
81
  **Message:** Resource not found
86
82
  **Description:** The requested resource does not exist
87
83
  **Resolution:** Verify the resource ID and ensure it exists
88
84
 
89
-
90
85
  ### PERMISSION_DENIED
91
86
 
92
87
  **Message:** Insufficient permissions
93
88
  **Description:** The user does not have permission to perform this action
94
89
  **Resolution:** Contact an administrator to grant the necessary permissions
95
90
 
96
-
97
-
98
-
99
91
  ---
100
92
 
101
93
  *Generated automatically from tool definitions - Do not edit manually*
@@ -17,11 +17,13 @@ Retrieves a single media item by its ID.
17
17
  Simple example of using wp_get_media
18
18
 
19
19
  **Command:**
20
+
20
21
  ```bash
21
22
  wp_get_media --id="123"
22
23
  ```
23
24
 
24
25
  **Response:**
26
+
25
27
  ```json
26
28
  {
27
29
  "success": true,
@@ -36,6 +38,7 @@ wp_get_media --id="123"
36
38
  ```
37
39
 
38
40
  **Error Example (Authentication failure):**
41
+
39
42
  ```json
40
43
  {
41
44
  "error": "Authentication failed",
@@ -43,11 +46,6 @@ wp_get_media --id="123"
43
46
  }
44
47
  ```
45
48
 
46
-
47
-
48
-
49
-
50
-
51
49
  ## Response Format
52
50
 
53
51
  **Return Type:** `media`
@@ -74,30 +72,24 @@ wp_get_media --id="123"
74
72
  **Description:** Invalid credentials or insufficient permissions
75
73
  **Resolution:** Check your authentication credentials and user permissions
76
74
 
77
-
78
75
  ### VALIDATION_ERROR
79
76
 
80
77
  **Message:** Parameter validation failed
81
78
  **Description:** One or more required parameters are missing or invalid
82
79
  **Resolution:** Review the required parameters and their formats
83
80
 
84
-
85
81
  ### NOT_FOUND
86
82
 
87
83
  **Message:** Resource not found
88
84
  **Description:** The requested resource does not exist
89
85
  **Resolution:** Verify the resource ID and ensure it exists
90
86
 
91
-
92
87
  ### PERMISSION_DENIED
93
88
 
94
89
  **Message:** Insufficient permissions
95
90
  **Description:** The user does not have permission to perform this action
96
91
  **Resolution:** Contact an administrator to grant the necessary permissions
97
92
 
98
-
99
-
100
-
101
93
  ---
102
94
 
103
95
  *Generated automatically from tool definitions - Do not edit manually*
@@ -17,11 +17,13 @@ Retrieves a single page by its ID.
17
17
  Simple example of using wp_get_page
18
18
 
19
19
  **Command:**
20
+
20
21
  ```bash
21
22
  wp_get_page --id="123"
22
23
  ```
23
24
 
24
25
  **Response:**
26
+
25
27
  ```json
26
28
  {
27
29
  "success": true,
@@ -36,6 +38,7 @@ wp_get_page --id="123"
36
38
  ```
37
39
 
38
40
  **Error Example (Authentication failure):**
41
+
39
42
  ```json
40
43
  {
41
44
  "error": "Authentication failed",
@@ -43,11 +46,6 @@ wp_get_page --id="123"
43
46
  }
44
47
  ```
45
48
 
46
-
47
-
48
-
49
-
50
-
51
49
  ## Response Format
52
50
 
53
51
  **Return Type:** `page`
@@ -74,30 +72,24 @@ wp_get_page --id="123"
74
72
  **Description:** Invalid credentials or insufficient permissions
75
73
  **Resolution:** Check your authentication credentials and user permissions
76
74
 
77
-
78
75
  ### VALIDATION_ERROR
79
76
 
80
77
  **Message:** Parameter validation failed
81
78
  **Description:** One or more required parameters are missing or invalid
82
79
  **Resolution:** Review the required parameters and their formats
83
80
 
84
-
85
81
  ### NOT_FOUND
86
82
 
87
83
  **Message:** Resource not found
88
84
  **Description:** The requested resource does not exist
89
85
  **Resolution:** Verify the resource ID and ensure it exists
90
86
 
91
-
92
87
  ### PERMISSION_DENIED
93
88
 
94
89
  **Message:** Insufficient permissions
95
90
  **Description:** The user does not have permission to perform this action
96
91
  **Resolution:** Contact an administrator to grant the necessary permissions
97
92
 
98
-
99
-
100
-
101
93
  ---
102
94
 
103
95
  *Generated automatically from tool definitions - Do not edit manually*
@@ -17,11 +17,13 @@ Retrieves revisions for a specific page.
17
17
  Simple example of using wp_get_page_revisions
18
18
 
19
19
  **Command:**
20
+
20
21
  ```bash
21
22
  wp_get_page_revisions --id="123"
22
23
  ```
23
24
 
24
25
  **Response:**
26
+
25
27
  ```json
26
28
  {
27
29
  "success": true,
@@ -36,6 +38,7 @@ wp_get_page_revisions --id="123"
36
38
  ```
37
39
 
38
40
  **Error Example (Authentication failure):**
41
+
39
42
  ```json
40
43
  {
41
44
  "error": "Authentication failed",
@@ -43,11 +46,6 @@ wp_get_page_revisions --id="123"
43
46
  }
44
47
  ```
45
48
 
46
-
47
-
48
-
49
-
50
-
51
49
  ## Response Format
52
50
 
53
51
  **Return Type:** `page`
@@ -74,30 +72,24 @@ wp_get_page_revisions --id="123"
74
72
  **Description:** Invalid credentials or insufficient permissions
75
73
  **Resolution:** Check your authentication credentials and user permissions
76
74
 
77
-
78
75
  ### VALIDATION_ERROR
79
76
 
80
77
  **Message:** Parameter validation failed
81
78
  **Description:** One or more required parameters are missing or invalid
82
79
  **Resolution:** Review the required parameters and their formats
83
80
 
84
-
85
81
  ### NOT_FOUND
86
82
 
87
83
  **Message:** Resource not found
88
84
  **Description:** The requested resource does not exist
89
85
  **Resolution:** Verify the resource ID and ensure it exists
90
86
 
91
-
92
87
  ### PERMISSION_DENIED
93
88
 
94
89
  **Message:** Insufficient permissions
95
90
  **Description:** The user does not have permission to perform this action
96
91
  **Resolution:** Contact an administrator to grant the necessary permissions
97
92
 
98
-
99
-
100
-
101
93
  ---
102
94
 
103
95
  *Generated automatically from tool definitions - Do not edit manually*
@@ -17,11 +17,13 @@ Retrieves a single post by its ID.
17
17
  Simple example of using wp_get_post
18
18
 
19
19
  **Command:**
20
+
20
21
  ```bash
21
22
  wp_get_post --id="123"
22
23
  ```
23
24
 
24
25
  **Response:**
26
+
25
27
  ```json
26
28
  {
27
29
  "success": true,
@@ -36,6 +38,7 @@ wp_get_post --id="123"
36
38
  ```
37
39
 
38
40
  **Error Example (Authentication failure):**
41
+
39
42
  ```json
40
43
  {
41
44
  "error": "Authentication failed",
@@ -43,7 +46,6 @@ wp_get_post --id="123"
43
46
  }
44
47
  ```
45
48
 
46
-
47
49
  ## WordPress REST API Mapping
48
50
 
49
51
  **Endpoint:** `/wp-json/wp/v2/posts/{id}`
@@ -51,12 +53,10 @@ wp_get_post --id="123"
51
53
  This tool directly interfaces with the WordPress REST API endpoint above. The response format and available parameters are determined by WordPress core functionality.
52
54
 
53
55
  ### WordPress Documentation
56
+
54
57
  - [WordPress REST API Handbook](https://developer.wordpress.org/rest-api/)
55
58
  - [Endpoint Reference](https://developer.wordpress.org/rest-api/reference/)
56
59
 
57
-
58
-
59
-
60
60
  ## Response Format
61
61
 
62
62
  **Return Type:** `post`
@@ -83,30 +83,24 @@ This tool directly interfaces with the WordPress REST API endpoint above. The re
83
83
  **Description:** Invalid credentials or insufficient permissions
84
84
  **Resolution:** Check your authentication credentials and user permissions
85
85
 
86
-
87
86
  ### VALIDATION_ERROR
88
87
 
89
88
  **Message:** Parameter validation failed
90
89
  **Description:** One or more required parameters are missing or invalid
91
90
  **Resolution:** Review the required parameters and their formats
92
91
 
93
-
94
92
  ### NOT_FOUND
95
93
 
96
94
  **Message:** Resource not found
97
95
  **Description:** The requested resource does not exist
98
96
  **Resolution:** Verify the resource ID and ensure it exists
99
97
 
100
-
101
98
  ### PERMISSION_DENIED
102
99
 
103
100
  **Message:** Insufficient permissions
104
101
  **Description:** The user does not have permission to perform this action
105
102
  **Resolution:** Contact an administrator to grant the necessary permissions
106
103
 
107
-
108
-
109
-
110
104
  ---
111
105
 
112
106
  *Generated automatically from tool definitions - Do not edit manually*
@@ -17,11 +17,13 @@ Retrieves revisions for a specific post.
17
17
  Simple example of using wp_get_post_revisions
18
18
 
19
19
  **Command:**
20
+
20
21
  ```bash
21
22
  wp_get_post_revisions --id="123"
22
23
  ```
23
24
 
24
25
  **Response:**
26
+
25
27
  ```json
26
28
  {
27
29
  "success": true,
@@ -36,6 +38,7 @@ wp_get_post_revisions --id="123"
36
38
  ```
37
39
 
38
40
  **Error Example (Authentication failure):**
41
+
39
42
  ```json
40
43
  {
41
44
  "error": "Authentication failed",
@@ -43,11 +46,6 @@ wp_get_post_revisions --id="123"
43
46
  }
44
47
  ```
45
48
 
46
-
47
-
48
-
49
-
50
-
51
49
  ## Response Format
52
50
 
53
51
  **Return Type:** `post`
@@ -74,30 +72,24 @@ wp_get_post_revisions --id="123"
74
72
  **Description:** Invalid credentials or insufficient permissions
75
73
  **Resolution:** Check your authentication credentials and user permissions
76
74
 
77
-
78
75
  ### VALIDATION_ERROR
79
76
 
80
77
  **Message:** Parameter validation failed
81
78
  **Description:** One or more required parameters are missing or invalid
82
79
  **Resolution:** Review the required parameters and their formats
83
80
 
84
-
85
81
  ### NOT_FOUND
86
82
 
87
83
  **Message:** Resource not found
88
84
  **Description:** The requested resource does not exist
89
85
  **Resolution:** Verify the resource ID and ensure it exists
90
86
 
91
-
92
87
  ### PERMISSION_DENIED
93
88
 
94
89
  **Message:** Insufficient permissions
95
90
  **Description:** The user does not have permission to perform this action
96
91
  **Resolution:** Contact an administrator to grant the necessary permissions
97
92
 
98
-
99
-
100
-
101
93
  ---
102
94
 
103
95
  *Generated automatically from tool definitions - Do not edit manually*
@@ -15,11 +15,13 @@ Retrieves the general settings for a WordPress site.
15
15
  Simple example of using wp_get_site_settings
16
16
 
17
17
  **Command:**
18
+
18
19
  ```bash
19
20
  wp_get_site_settings
20
21
  ```
21
22
 
22
23
  **Response:**
24
+
23
25
  ```json
24
26
  {
25
27
  "success": true,
@@ -34,6 +36,7 @@ wp_get_site_settings
34
36
  ```
35
37
 
36
38
  **Error Example (Authentication failure):**
39
+
37
40
  ```json
38
41
  {
39
42
  "error": "Authentication failed",
@@ -41,9 +44,6 @@ wp_get_site_settings
41
44
  }
42
45
  ```
43
46
 
44
-
45
-
46
-
47
47
  ## Required Permissions
48
48
 
49
49
  This tool requires the following WordPress user capabilities:
@@ -52,7 +52,6 @@ This tool requires the following WordPress user capabilities:
52
52
 
53
53
  **Note:** The authenticated user must have these capabilities to successfully execute this tool.
54
54
 
55
-
56
55
  ## Response Format
57
56
 
58
57
  **Return Type:** `site`
@@ -79,30 +78,24 @@ This tool requires the following WordPress user capabilities:
79
78
  **Description:** Invalid credentials or insufficient permissions
80
79
  **Resolution:** Check your authentication credentials and user permissions
81
80
 
82
-
83
81
  ### VALIDATION_ERROR
84
82
 
85
83
  **Message:** Parameter validation failed
86
84
  **Description:** One or more required parameters are missing or invalid
87
85
  **Resolution:** Review the required parameters and their formats
88
86
 
89
-
90
87
  ### NOT_FOUND
91
88
 
92
89
  **Message:** Resource not found
93
90
  **Description:** The requested resource does not exist
94
91
  **Resolution:** Verify the resource ID and ensure it exists
95
92
 
96
-
97
93
  ### PERMISSION_DENIED
98
94
 
99
95
  **Message:** Insufficient permissions
100
96
  **Description:** The user does not have permission to perform this action
101
97
  **Resolution:** Contact an administrator to grant the necessary permissions
102
98
 
103
-
104
-
105
-
106
99
  ---
107
100
 
108
101
  *Generated automatically from tool definitions - Do not edit manually*
@@ -17,11 +17,13 @@ Retrieves a single tag by its ID.
17
17
  Simple example of using wp_get_tag
18
18
 
19
19
  **Command:**
20
+
20
21
  ```bash
21
22
  wp_get_tag --id="123"
22
23
  ```
23
24
 
24
25
  **Response:**
26
+
25
27
  ```json
26
28
  {
27
29
  "success": true,
@@ -36,6 +38,7 @@ wp_get_tag --id="123"
36
38
  ```
37
39
 
38
40
  **Error Example (Authentication failure):**
41
+
39
42
  ```json
40
43
  {
41
44
  "error": "Authentication failed",
@@ -43,11 +46,6 @@ wp_get_tag --id="123"
43
46
  }
44
47
  ```
45
48
 
46
-
47
-
48
-
49
-
50
-
51
49
  ## Response Format
52
50
 
53
51
  **Return Type:** `taxonomy`
@@ -74,30 +72,24 @@ wp_get_tag --id="123"
74
72
  **Description:** Invalid credentials or insufficient permissions
75
73
  **Resolution:** Check your authentication credentials and user permissions
76
74
 
77
-
78
75
  ### VALIDATION_ERROR
79
76
 
80
77
  **Message:** Parameter validation failed
81
78
  **Description:** One or more required parameters are missing or invalid
82
79
  **Resolution:** Review the required parameters and their formats
83
80
 
84
-
85
81
  ### NOT_FOUND
86
82
 
87
83
  **Message:** Resource not found
88
84
  **Description:** The requested resource does not exist
89
85
  **Resolution:** Verify the resource ID and ensure it exists
90
86
 
91
-
92
87
  ### PERMISSION_DENIED
93
88
 
94
89
  **Message:** Insufficient permissions
95
90
  **Description:** The user does not have permission to perform this action
96
91
  **Resolution:** Contact an administrator to grant the necessary permissions
97
92
 
98
-
99
-
100
-
101
93
  ---
102
94
 
103
95
  *Generated automatically from tool definitions - Do not edit manually*
@@ -17,11 +17,13 @@ Retrieves a single user by their ID.
17
17
  Simple example of using wp_get_user
18
18
 
19
19
  **Command:**
20
+
20
21
  ```bash
21
22
  wp_get_user --id="123"
22
23
  ```
23
24
 
24
25
  **Response:**
26
+
25
27
  ```json
26
28
  {
27
29
  "success": true,
@@ -36,6 +38,7 @@ wp_get_user --id="123"
36
38
  ```
37
39
 
38
40
  **Error Example (Authentication failure):**
41
+
39
42
  ```json
40
43
  {
41
44
  "error": "Authentication failed",
@@ -43,11 +46,6 @@ wp_get_user --id="123"
43
46
  }
44
47
  ```
45
48
 
46
-
47
-
48
-
49
-
50
-
51
49
  ## Response Format
52
50
 
53
51
  **Return Type:** `user`
@@ -74,30 +72,24 @@ wp_get_user --id="123"
74
72
  **Description:** Invalid credentials or insufficient permissions
75
73
  **Resolution:** Check your authentication credentials and user permissions
76
74
 
77
-
78
75
  ### VALIDATION_ERROR
79
76
 
80
77
  **Message:** Parameter validation failed
81
78
  **Description:** One or more required parameters are missing or invalid
82
79
  **Resolution:** Review the required parameters and their formats
83
80
 
84
-
85
81
  ### NOT_FOUND
86
82
 
87
83
  **Message:** Resource not found
88
84
  **Description:** The requested resource does not exist
89
85
  **Resolution:** Verify the resource ID and ensure it exists
90
86
 
91
-
92
87
  ### PERMISSION_DENIED
93
88
 
94
89
  **Message:** Insufficient permissions
95
90
  **Description:** The user does not have permission to perform this action
96
91
  **Resolution:** Contact an administrator to grant the necessary permissions
97
92
 
98
-
99
-
100
-
101
93
  ---
102
94
 
103
95
  *Generated automatically from tool definitions - Do not edit manually*