def METHOD_NAME(tags, dt, docs, color=None):
	"adds a new tag to a record, and creates the Tag master"
	tags = frappe.parse_json(tags)
	docs = frappe.parse_json(docs)
	for doc in docs:
		for tag in tags:
			DocTags(dt).add(doc, tag)
	# return tag