MCP · Agentforce
Research draft · Findings not yet published
Diagnosing Agentforce MCP schema import failures
A developer reports an internal registration error for MCP tool parameters with nullable JSON Schema type lists.
This page is a starting point for my own investigation. It does not yet provide a tested solution.
Read the original community question ↗What I’ll investigate
- Reproduce the reported nullable-type failure with a minimal tool.
- Compare schemas and document any workaround without silently changing the tool contract.
Research findings
Pending research. I’ll record the reproduction, org prerequisites, release version, and relevant official documentation here.
Solution or simplified workaround
Pending validation. I’ll explain when to use it, the smallest steps, the expected result, limitations, and how to undo it.
Validation
Not yet tested. I’ll document normal and failure cases, the intended user’s permissions, and bulk or retry behavior where relevant.
Could this become a reusable tool?
A schema compatibility validator.
An idea to evaluate after testing the simplest supported solution and checking existing Salesforce features.