function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Devashree Tidke 23Devashree Tidke 23 

I have a use case where we need to fetch all the std. and custom objects names,apex classes(class body), std./custom fields and custom fields metadata(read only/required/field type etc). Can tooling API help in this ?

Tooling API Vs Metadata API. 
I have a use case where we need to fetch all the standard and custom objects names, apex classes (apex classes body), standard/custom fields and custom fields metadata(read only/required/field type etc.) in a single API call using Java code. 
Is that possible with tooling API or I have to go with Metadata API ? If yes how, if no suggest API for above use case.