How to use fetched value in frappe.call?

i have this code to fetch full name user value
frappe.call({
method: “frappe.client.get_value”,
args: {
“doctype”: “User”,
“filters”: {“name”: frappe.session.user},
“fieldname”: “full_name”
}
but i need to set full_name value in current new form
how i can use fetched value ?

You can refer to our documentation and use callbacks (https://frappe.io/docs/user/en/guides/basics/frappe_ajax_call) and the set_value method (https://frappe.io/docs/user/en/tutorial/form-client-scripting)