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
"Generate metadata source files for a new custom field on a specified object. This command must be run in a Salesforce DX project directory with existing object source files.",
152
-
{
153
-
input: schemaGenerateFieldInputSchema,
154
-
},
155
-
async({ input })=>{
156
-
constresult=awaitschemaGenerateField(input);
157
-
return{
158
-
content: [
159
-
{
160
-
type: "text",
161
-
text: JSON.stringify(result),
162
-
},
163
-
],
164
-
};
165
-
},
166
-
);
167
-
168
-
server.tool(
169
-
"schema_generate_sobject",
170
-
"Generate metadata source files for a new custom object. This command must be run in a Salesforce DX project directory. The command is interactive and will prompt for Name field details.",
171
-
{
172
-
input: schemaGenerateSObjectInputSchema,
173
-
},
174
-
async({ input })=>{
175
-
constresult=awaitschemaGenerateSObject(input);
176
-
return{
177
-
content: [
178
-
{
179
-
type: "text",
180
-
text: JSON.stringify(result),
181
-
},
182
-
],
183
-
};
184
-
},
185
-
);
186
-
187
49
server.tool(
188
50
"schema_generate_tab",
189
51
"Generate metadata source files for a new custom tab on a custom object. Custom tabs display custom object data in Salesforce navigation.",
0 commit comments