Sf Create Record
sf_create_recordCreate a new Salesforce record. Specify object type (e.g., 'Contact') and field values. Returns the new record ID.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"fields": {
"Name": "Acme Corporation",
"Industry": "Technology",
"BillingCity": "San Francisco"
},
"object": "Account"
},
"name": "sf_create_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | Field name/value pairs (e.g., {"Name": "Acme", "Industry": "Tech"}) | |
| object | Yes | SObject type (e.g., "Account", "Contact") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ID of newly created record | |
| error | No | Error code if creation failed | |
| message | No | Error message if creation failed | |
| success | No | Whether record was created successfully |